naise-pos-android-mobile/App.js

30 lines
649 B
JavaScript
Raw Permalink Normal View History

2022-11-27 19:26:04 +07:00
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import React from 'react';
import AppNavigator from 'navigations';
import {Provider} from 'react-redux';
import configureStore from 'store';
import {PersistGate} from 'redux-persist/integration/react';
2023-04-14 23:33:18 +07:00
import 'react-native-gesture-handler';
2022-11-27 19:26:04 +07:00
import 'moment/locale/id';
import 'utilities/i18';
const App = () => {
2023-04-14 23:33:18 +07:00
const {store, persistor} = configureStore();
2022-11-27 19:26:04 +07:00
return (
<Provider store={store}>
<PersistGate persistor={persistor}>
<AppNavigator />
</PersistGate>
</Provider>
);
};
export default App;