mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 12:05:41 +01:00
Update useLocale.ts
This commit is contained in:
parent
0c27d28aca
commit
3bea37526a
1 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue