Explorar o código

chore: cleanup

Adam hai 1 mes
pai
achega
0f34634c52
Modificáronse 1 ficheiros con 9 adicións e 9 borrados
  1. 9 9
      packages/app/src/pages/session.tsx

+ 9 - 9
packages/app/src/pages/session.tsx

@@ -904,9 +904,9 @@ export default function Page() {
           style={{ width: isDesktop() && showTabs() ? `${layout.session.width()}px` : "100%" }}
           style={{ width: isDesktop() && showTabs() ? `${layout.session.width()}px` : "100%" }}
         >
         >
           <div class="flex-1 min-h-0 overflow-hidden">
           <div class="flex-1 min-h-0 overflow-hidden">
-            <Show when={activeMessage()}>
-              <Switch>
-                <Match when={params.id}>
+            <Switch>
+              <Match when={params.id}>
+                <Show when={activeMessage()}>
                   <Show
                   <Show
                     when={!mobileReview()}
                     when={!mobileReview()}
                     fallback={
                     fallback={
@@ -989,12 +989,12 @@ export default function Page() {
                       </div>
                       </div>
                     </div>
                     </div>
                   </Show>
                   </Show>
-                </Match>
-                <Match when={true}>
-                  <NewSessionView />
-                </Match>
-              </Switch>
-            </Show>
+                </Show>
+              </Match>
+              <Match when={true}>
+                <NewSessionView />
+              </Match>
+            </Switch>
           </div>
           </div>
 
 
           {/* Prompt input */}
           {/* Prompt input */}