Update useLocale.ts

This commit is contained in:
Minseo Lee 2024-08-28 17:11:37 +09:00
parent 0c27d28aca
commit 3bea37526a

View file

@ -4,11 +4,8 @@ import { LOCALE_CONFIG } from 'lib/constants';
import { getDateLocale, getTextDirection } from 'lib/lang'; import { getDateLocale, getTextDirection } from 'lib/lang';
import useStore, { setLocale } from 'store/app'; import useStore, { setLocale } from 'store/app';
import { useForceUpdate } from './useForceUpdate'; import { useForceUpdate } from './useForceUpdate';
import enUS from '../../../public/intl/country/en-US.json';
const messages = { const messages = {};
'en-US': enUS,
};
const selector = (state: { locale: any }) => state.locale; const selector = (state: { locale: any }) => state.locale;