Update date translations when locale changes

This commit is contained in:
Ben Grant 2021-05-25 17:29:56 +10:00
parent 96fa0b0488
commit 22eeacfe67
7 changed files with 35 additions and 15 deletions

View file

@ -39,3 +39,8 @@ export const useTWAStore = create(set => ({
TWA: undefined,
setTWA: TWA => set({ TWA }),
}));
export const useLocaleUpdateStore = create(set => ({
locale: undefined,
setLocale: locale => set({ locale }),
}));