Skip to content

Commit 0040b61

Browse files
committed
Fix storecontext
1 parent b2f51ac commit 0040b61

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/App.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ import { configure } from 'mobx';
77
import { View } from 'react-native';
88

99
import { fontsMap } from '../constants/fonts';
10-
import { rootStore } from '../stores';
10+
import { StoreContext, rootStore } from '../stores';
1111
import AppContent from './AppContent';
1212

1313
configure({
1414
enforceActions: 'never',
1515
});
1616

17-
export const StoreContext = React.createContext<typeof rootStore>(rootStore);
18-
1917
/**
2018
* This is the app entry Point.
2119
*/

0 commit comments

Comments
 (0)