-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
28 lines (25 loc) · 859 Bytes
/
Copy pathApp.js
File metadata and controls
28 lines (25 loc) · 859 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
import 'react-native-gesture-handler';
import { NavigationContainer } from '@react-navigation/native';
import { StatusBar } from 'expo-status-bar';
import { Provider as PaperProvider } from 'react-native-paper';
import { LogBox } from 'react-native';
import { useEffect } from 'react/cjs/react.development';
import { AlertsProvider } from './src/Contexts/AlertsContext';
import { AuthProvider } from './src/Contexts/AuthContext';
import NavigationHandler from './src/Navigation/NavigationHandler';
export default function App() {
useEffect(() => {
LogBox.ignoreLogs(['Setting a timer']);
}, []);
return (
<PaperProvider>
<NavigationContainer>
<AlertsProvider>
<AuthProvider>
<NavigationHandler />
</AuthProvider>
</AlertsProvider>
</NavigationContainer>
</PaperProvider>
);
}