ecency-mobile/src/index.js

15 lines
400 B
JavaScript
Raw Normal View History

import React from 'react';
import { Provider } from 'react-redux';
import { PersistGate } from 'redux-persist/integration/react';
import Application from './screens/application';
import { store, persistor } from './redux/store/store';
2018-11-14 17:29:29 +03:00
export default () => (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<Application />
</PersistGate>
</Provider>
);