Skip to content

Commit

Permalink
[TM-786] Fix a hook dependency warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
roguenet committed May 28, 2024
1 parent 4ba0d87 commit 82af918
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const WorkdaySection = ({ demographics, type, variant, onChange }: WorkdaySectio
updatedDemographics.splice(index, 1);
onChange(updatedDemographics);
},
[demographics, onChange, type]
[demographics, onChange]
);

// Tailwind doesn't supply classes for high row counts, so we apply this prop ourselves.
Expand Down

0 comments on commit 82af918

Please sign in to comment.