Using appContext in DataSourceWrapper and createRoutes
This commit is contained in:
1 parent
c2853f719a
commit
70ad940941
6 files changed
+31
-34
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import { createContext } from 'react';
|
||||
|
||||
export const APP_CONFIG_DEFAULT_VALUE = {
|
||||
config: {},
|
||||
setCurrentConfig: () => {},
|
||||
appConfig: {},
|
||||
setCurrentAppConfig: () => {},
|
||||
};
|
||||
|
||||
export const appConfigContext = createContext(APP_CONFIG_DEFAULT_VALUE);
|
||||
Reference in new issue
Block a user