feat: add server default locale setting (#1536)

* feat: add server default locale setting

* fix: do not modify defaultLocale property of IntlProvider
This commit is contained in:
TheCatLady
2021-05-03 09:11:28 -04:00
committed by GitHub
parent 4fd452dd18
commit f256a444c5
14 changed files with 94 additions and 44 deletions

View File

@@ -19,6 +19,7 @@ const defaultSettings = {
cacheImages: false,
vapidPublic: '',
enablePushRegistration: false,
locale: 'en',
};
export const SettingsContext = React.createContext<SettingsContextProps>({