-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
33 lines (28 loc) · 923 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
27
28
29
30
31
32
33
import { Fragment, useEffect } from "react"
import SplashScreen from "react-native-splash-screen"
import MafooRouter from "./src/store/routes/MafooRouter"
import QueryProviders from "./src/common/QueryProviders"
import { AuthProvider } from "@/store/auth"
import ForegroundMessage from "@/providers/ForegroundMessage"
import ErrorHandlingWrapper from "@/common/ErrorHandlingWrapper"
// import DeprecatedWebView from "./src/store/routes/DeprecatedWebView"
function App(): React.JSX.Element {
useEffect(() => {
SplashScreen.hide()
}, [])
return (
<Fragment>
<QueryProviders>
<ErrorHandlingWrapper>
<AuthProvider>
<MafooRouter />
<ForegroundMessage />
</AuthProvider>
{/* 기존 Webview deprecated */}
{/* <DeprecatedWebView /> */}
</ErrorHandlingWrapper>
</QueryProviders>
</Fragment>
)
}
export default App