about summary refs log tree commit diff
path: root/src/view/shell/web/index.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-02-23 17:22:03 -0600
committerPaul Frazee <pfrazee@gmail.com>2023-02-23 17:22:03 -0600
commit154c34e915231a03e289dd36294592911d9c9900 (patch)
treee024768ec8b4296ec0711b2b981de62f83195525 /src/view/shell/web/index.tsx
parentb4f2a6979afeeb6b0b29bbf668d61b23b65b47ec (diff)
downloadvoidsky-154c34e915231a03e289dd36294592911d9c9900.tar.zst
Rework modals to support multiple active
Diffstat (limited to 'src/view/shell/web/index.tsx')
-rw-r--r--src/view/shell/web/index.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/shell/web/index.tsx b/src/view/shell/web/index.tsx
index be0460f00..b9ae32f27 100644
--- a/src/view/shell/web/index.tsx
+++ b/src/view/shell/web/index.tsx
@@ -11,7 +11,7 @@ import {Onboard} from '../../screens/Onboard'
 import {Login} from '../../screens/Login'
 import {ErrorBoundary} from '../../com/util/ErrorBoundary'
 import {Lightbox} from '../../com/lightbox/Lightbox'
-import {Modal} from '../../com/modals/Modal'
+import {ModalsContainer} from '../../com/modals/Modal'
 import {Text} from 'view/com/util/text/Text'
 import {Composer} from './Composer'
 import {usePalette} from 'lib/hooks/usePalette'
@@ -32,7 +32,7 @@ export const WebShell: React.FC = observer(() => {
     return (
       <View style={styles.outerContainer}>
         <Login />
-        <Modal />
+        <ModalsContainer />
       </View>
     )
   }
@@ -67,7 +67,7 @@ export const WebShell: React.FC = observer(() => {
         imagesOpen={store.shell.composerOpts?.imagesOpen}
         onPost={store.shell.composerOpts?.onPost}
       />
-      <Modal />
+      <ModalsContainer />
       <Lightbox />
     </View>
   )