Skip to content

Commit

Permalink
sotre i18n lang code in const
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed Jun 17, 2024
1 parent 7cba581 commit e8f0f08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/components/modals/NotifyMeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ export const NotifyMeModal: React.FC<NotifyMeModalProps> = ({
return null;
}

const labels = I18n.DEFAULT_LANGUAGE_CODE === "en" ? en : {};
const labels =
I18n.DEFAULT_LANGUAGE_CODE === I18n.DEFAULT_LANGUAGE_CODE ? en : {};

return (
<Modal>
Expand Down

0 comments on commit e8f0f08

Please sign in to comment.