Skip to content

Commit

Permalink
fix: add missing dependency to memo
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlosfarah committed Jan 30, 2024
1 parent 7016bdd commit c15de7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/main/PlayerView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const PlayerView = (): JSX.Element => {
return t('SAVE_BUTTON');
}
return t('SAVED_MESSAGE');
}, [permission]);
}, [permission, t]);

const handleChangeAnswer = (event: ChangeEvent<HTMLInputElement>): void => {
const { value } = event.target;
Expand Down

0 comments on commit c15de7c

Please sign in to comment.