diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-07-25 23:08:24 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-07-25 23:08:24 -0500 |
commit | 041bfa22a99d8d6b4b17ad36c983e9e2b2444918 (patch) | |
tree | b03d7934b27af87c76fa62424fa70e6d0e5229a8 /src/App.web.tsx | |
parent | af55a89758fc6d44896051b9ddd015a73b92e0f6 (diff) | |
download | voidsky-041bfa22a99d8d6b4b17ad36c983e9e2b2444918.tar.zst |
Implement Web versions of the bottom sheet, toast, and progress circle
Diffstat (limited to 'src/App.web.tsx')
-rw-r--r-- | src/App.web.tsx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/App.web.tsx b/src/App.web.tsx index 838b81ee2..9a6fedd5a 100644 --- a/src/App.web.tsx +++ b/src/App.web.tsx @@ -1,9 +1,8 @@ import React, {useState, useEffect} from 'react' -import {RootSiblingParent} from 'react-native-root-siblings' -import {GestureHandlerRootView} from 'react-native-gesture-handler' import * as view from './view/index' import {RootStoreModel, setupState, RootStoreProvider} from './state' import * as Routes from './view/routes' +import Toast from './view/com/util/Toast' function App() { const [rootStore, setRootStore] = useState<RootStoreModel | undefined>( @@ -22,13 +21,10 @@ function App() { } return ( - <GestureHandlerRootView style={{flex: 1}}> - <RootSiblingParent> - <RootStoreProvider value={rootStore}> - <Routes.Root /> - </RootStoreProvider> - </RootSiblingParent> - </GestureHandlerRootView> + <RootStoreProvider value={rootStore}> + <Routes.Root /> + <Toast.ToastContainer /> + </RootStoreProvider> ) } |