-
Notifications
You must be signed in to change notification settings - Fork 26
/
App.tsx
20 lines (19 loc) · 651 Bytes
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import React, { Component } from "react";
import { SafeAreaView } from "react-navigation";
import { Provider } from "react-redux";
import AppContainer from "./src/navigation/AppNavigation";
import configureStore from "./src/redux/store";
import { PersistGate } from "redux-persist/integration/react";
export default class App extends Component {
render() {
return (
<SafeAreaView style={{ flex: 1 }}>
<Provider store={configureStore().store}>
<PersistGate loading={null} persistor={configureStore().persistor}>
<AppContainer />
</PersistGate>
</Provider>
</SafeAreaView>
);
}
}