-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathApp.js
More file actions
20 lines (15 loc) · 719 Bytes
/
App.js
File metadata and controls
20 lines (15 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { Provider } from 'react-redux';
import asyncToGenerator from 'async-to-generator';
import configureStore from './src/config/configureStore';
import registerScreens from './src/PangeaCore/UI/screens';
import { startNavigation } from './src/modules/navigation/navigation-actions';
// Fix for https://github.com/Bit-Nation/BITNATION-Pangea-mobile/issues/166
// Related with https://github.com/facebook/react-native/issues/4844
// @todo Change that to more appropriate solution
// eslint-disable-next-line no-undef
babelHelpers.asyncToGenerator = asyncToGenerator;
const store = configureStore();
registerScreens(store, Provider);
store.dispatch(startNavigation());
const App = () => null;
export default App;