From 3bea37526a09a40dc7a23d30abd969aed91bb3ee Mon Sep 17 00:00:00 2001 From: Minseo Lee Date: Wed, 28 Aug 2024 17:11:37 +0900 Subject: [PATCH] Update useLocale.ts --- src/components/hooks/useLocale.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/hooks/useLocale.ts b/src/components/hooks/useLocale.ts index 69e7cc417..dca2b5737 100644 --- a/src/components/hooks/useLocale.ts +++ b/src/components/hooks/useLocale.ts @@ -4,11 +4,8 @@ import { LOCALE_CONFIG } from 'lib/constants'; import { getDateLocale, getTextDirection } from 'lib/lang'; import useStore, { setLocale } from 'store/app'; import { useForceUpdate } from './useForceUpdate'; -import enUS from '../../../public/intl/country/en-US.json'; -const messages = { - 'en-US': enUS, -}; +const messages = {}; const selector = (state: { locale: any }) => state.locale;