notification store and update in local storage
This commit is contained in:
@@ -6,12 +6,15 @@ import { AppRegistry } from 'react-native';
|
||||
import App from './App';
|
||||
import { name as appName } from './app.json';
|
||||
import { Provider } from 'react-redux';
|
||||
import { store } from './src/redux/store';
|
||||
import { persistor, store } from './src/redux/store';
|
||||
import { PersistGate } from 'redux-persist/integration/react';
|
||||
|
||||
// ✅ Wrapper with Provider
|
||||
const ReduxWrapper = () => (
|
||||
<Provider store={store}>
|
||||
<App />
|
||||
<PersistGate loading={null} persistor={persistor}>
|
||||
<App />
|
||||
</PersistGate>
|
||||
</Provider>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user