Last active
February 15, 2020 23:26
-
-
Save AllGistsEqual/866c1fc4cedb16934e8bfab6083e0204 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { Provider } from 'react-redux' | |
import { enableScreens } from 'react-native-screens'; | |
import configureStore from './src/redux/store' | |
import { initialiseApplication } from './src/redux/actions/application.actions' | |
import Navigation from './src/navigation' | |
enableScreens(); | |
const store = configureStore() | |
store.dispatch(initialiseApplication()) | |
export default function App() { | |
return ( | |
<Provider store={store}> | |
<Navigation /> | |
</Provider> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment