-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
31 lines (23 loc) · 719 Bytes
/
App.js
File metadata and controls
31 lines (23 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import React, { useState } from 'react';
import { Platform, StatusBar, StyleSheet, View } from 'react-native';
import rootReducer from './reducers/index'
import {Provider} from 'react-redux';
import {PersistGate} from 'redux-persist/lib/integration/react';
// Imports: Redux Persist Persister
import { store, persistor } from './store';
import AppContainer from './navigation/AppNavigator';
import AppGateway from './AppGateway';
export default class App extends React.Component {
constructor() {
super()
}
render() {
return (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<AppGateway />
</PersistGate>
</Provider>
);
}
}