Using appContext in DataSourceWrapper and createRoutes

This commit is contained in:
dannyrb committed 2020-05-17 22:18:25 -04:00
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);