diff options
Diffstat (limited to 'src/App.tsx')
-rw-r--r-- | src/App.tsx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/App.tsx b/src/App.tsx index 2e6865fd..e1cd83cc 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,14 +1,19 @@ import React from 'react'; import {NavigationContainer} from '@react-navigation/native'; -import Routes, {AuthProvider} from './routes'; +import Routes from './routes'; +import {Provider} from 'react-redux'; +import store from './store/configureStore'; const App = () => { return ( - <AuthProvider> + /** + * This is the provider from the redux store, it acts as the root provider for our application + */ + <Provider store={store}> <NavigationContainer> <Routes /> </NavigationContainer> - </AuthProvider> + </Provider> ); }; |