From d04a6d7539c53ec3510175459c1ca8c8e7e994da Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Thu, 26 Jan 2023 17:55:15 -0600
Subject: Add web layout components

---
 src/view/shell/web/index.tsx | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

(limited to 'src/view/shell/web/index.tsx')

diff --git a/src/view/shell/web/index.tsx b/src/view/shell/web/index.tsx
index 9032eb884..c7bfeff19 100644
--- a/src/view/shell/web/index.tsx
+++ b/src/view/shell/web/index.tsx
@@ -18,26 +18,22 @@ export const WebShell: React.FC = observer(() => {
   if (!store.session.hasSession) {
     return (
       <View style={styles.outerContainer}>
-        <View style={styles.innerContainer}>
-          <Login />
-        </View>
+        <Login />
       </View>
     )
   }
 
   return (
     <View style={[styles.outerContainer, pal.view]}>
-      <View style={styles.innerContainer}>
-        {screenRenderDesc.screens.map(({Com, navIdx, params, key, current}) => (
-          <View
-            key={key}
-            style={[s.h100pct, current ? styles.visible : styles.hidden]}>
-            <ErrorBoundary>
-              <Com params={params} navIdx={navIdx} visible={current} />
-            </ErrorBoundary>
-          </View>
-        ))}
-      </View>
+      {screenRenderDesc.screens.map(({Com, navIdx, params, key, current}) => (
+        <View
+          key={key}
+          style={[s.h100pct, current ? styles.visible : styles.hidden]}>
+          <ErrorBoundary>
+            <Com params={params} navIdx={navIdx} visible={current} />
+          </ErrorBoundary>
+        </View>
+      ))}
     </View>
   )
   // TODO
-- 
cgit 1.4.1

