-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
26 lines (24 loc) · 1.03 KB
/
App.tsx
File metadata and controls
26 lines (24 loc) · 1.03 KB
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
import React from 'react';
import ErrorBoundary from 'react-native-error-boundary';
import { Provider } from 'react-redux';
import './src/lib/translations/i18n'; // Required import to enable translations
import ErrorFallback from './src/components/general/error/ErrorBoundary';
import AppLoader from './src/components/loadingscreen/AppLoader';
import WhNavigationContainer from './src/components/navigation/WhNavigationContainer';
import SplashScreenOrApp from './src/components/splashscreen/SplashScreenOrApp';
import { store } from './src/lib/redux/Store';
import AppProviders from './src/providers/AppProviders';
export default function App() {
return (
<ErrorBoundary FallbackComponent={ErrorFallback}>
<Provider store={store}>
<WhNavigationContainer>
<AppProviders>
<SplashScreenOrApp />
<AppLoader />
</AppProviders>
</WhNavigationContainer>
</Provider>
</ErrorBoundary>
);
}