-
-
Save AllGistsEqual/13caa0f3eb8e0edbd2861efef6991aaf 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
// File: App.tsx | |
import React from 'react' | |
import { Provider } from 'react-redux' | |
import { StatusBar } from 'expo-status-bar' | |
import { enableScreens } from 'react-native-screens' | |
import { PersistGate } from 'redux-persist/integration/react' | |
import store, { persistor } from './src/redux' | |
import MainNavigation from './src/routing/MainNavigation' | |
enableScreens() | |
export default function App(): React.ReactElement { | |
return ( | |
<Provider store={store}> | |
<PersistGate loading={null} persistor={persistor}> | |
<StatusBar hidden /> | |
<MainNavigation /> | |
</PersistGate> | |
</Provider> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment