-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
26 lines (21 loc) · 617 Bytes
/
App.tsx
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, {useEffect} from 'react';
import ThemeContextProvider from '@/contexts/ThemeContext';
import Index from '@/index';
import '@/services/calendarConfig';
import SplashScreen from 'react-native-splash-screen';
import UserContextProvider from '@/contexts/AuthContext';
import Toast from 'react-native-toast-message';
import {toastConfig} from '@/components';
const App = () => {
useEffect(() => {
SplashScreen.hide();
}, []);
return (
<ThemeContextProvider>
<UserContextProvider>
<Index />
</UserContextProvider>
</ThemeContextProvider>
);
};
export default App;