const RootNavigation = () => {
return (
<NavigationContainer>
<StatusBar backgroundColor="#EE4254" />
<MyDrawer />
</NavigationContainer>
);
};
const App = () => {
return (
<Provider store={Store.store}>
<PersistGate loading={null} persistor={Store.persistor}>
<RootNavigation />
</PersistGate>
</Provider>
);
};
export default App;
// I have already provided the Provider but i don't know why asking for provider wrapper