Skip to content

Commit

Permalink
fix: add comment - 3314 (#3316)
Browse files Browse the repository at this point in the history
Add comment
  • Loading branch information
timarney authored Mar 11, 2024
1 parent 2c2cb61 commit c09a6eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const RuleIndicator = ({ choiceId }: { choiceId: string }) => {
);

const elements = useTemplateStore((state) => state.form.elements);
// Ensure elements are sorted by layout
const sortedElements = sortByLayout({ layout, elements: [...elements] });

const parentId = Number(choiceId.split(".")[0]);
const childId = Number(choiceId.split(".")[1]);
const choice = getChoice(parentId, childId);
Expand Down

0 comments on commit c09a6eb

Please sign in to comment.