Skip to content

Commit

Permalink
Add debugging output to chip section
Browse files Browse the repository at this point in the history
The chips are not getting un-checked when we blank out answers. I can't
get React dev tools to show up.
  • Loading branch information
douglasnaphas committed Mar 20, 2024
1 parent b72791a commit 43b2842
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions frontend-create-haggadah/pages/blanks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,18 @@ const ChipSection = (props: {
pageState,
setPageState,
} = props;
console.log("answers:", answers);
assignments.forEach((assignment, assignmentIndex) => {
console.log(
"assignment",
assignment,
"assignmentIndex",
assignmentIndex,
"assignment.id in answers",
assignment.id in answers
);
});
console.log("*************");
return (
<div>
{assignments.map((assignment, assignmentIndex) => {
Expand Down

0 comments on commit 43b2842

Please sign in to comment.