Browse Source
* Upgrade locale context * fix logic * fix lint * add context ignore in test casepull/22772/head
二货机器人
5 years ago
committed by
GitHub
4 changed files with 21 additions and 32 deletions
@ -0,0 +1,6 @@ |
|||
import { createContext } from 'react'; |
|||
import { Locale } from '.'; |
|||
|
|||
const LocaleContext = createContext<(Partial<Locale> & { exist?: boolean }) | undefined>(undefined); |
|||
|
|||
export default LocaleContext; |
Loading…
Reference in new issue