2018-10-04 05:18:36 +03:00
|
|
|
import React from 'react';
|
|
|
|
import { Provider } from 'react-redux';
|
2019-07-17 00:31:34 +03:00
|
|
|
import { PersistGate } from 'redux-persist/integration/react';
|
2018-10-04 05:18:36 +03:00
|
|
|
|
2019-07-11 15:33:42 +03:00
|
|
|
import Application from './screens/application';
|
2019-07-17 00:31:34 +03:00
|
|
|
import { store, persistor } from './redux/store/store';
|
2018-11-14 17:29:29 +03:00
|
|
|
|
2018-10-04 05:18:36 +03:00
|
|
|
export default () => (
|
|
|
|
<Provider store={store}>
|
2019-07-17 00:31:34 +03:00
|
|
|
<PersistGate loading={null} persistor={persistor}>
|
|
|
|
<Application />
|
|
|
|
</PersistGate>
|
2018-10-04 05:18:36 +03:00
|
|
|
</Provider>
|
|
|
|
);
|