Skip to content

Commit

Permalink
fix: update react-i18next mock in vitest.setup.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mirovladimitrovski committed Sep 4, 2023
1 parent e195519 commit 8de258c
Show file tree
Hide file tree
Showing 3 changed files with 1,802 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/components/CustomRegisterField/CustomRegisterField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ export const CustomRegisterField: FC<Props> = ({ type, value = '', ...props }) =
const { t, i18n } = useTranslation(type);

const optionsList = useMemo(() => {
if (!i18n.isInitialized) {
return [];
}

switch (type) {
case REGISTER_FIELD_VARIANT.COUNTRY_SELECT:
case REGISTER_FIELD_VARIANT.US_STATE_SELECT: {
Expand Down
Loading

0 comments on commit 8de258c

Please sign in to comment.