diff --git a/frontend/src/app/messages/[chatId]/page.tsx b/frontend/src/app/messages/[chatId]/page.tsx
index b4f48e96..0f94c106 100644
--- a/frontend/src/app/messages/[chatId]/page.tsx
+++ b/frontend/src/app/messages/[chatId]/page.tsx
@@ -971,7 +971,7 @@ function MessageDialogPageContent() {
{cm.error}
) : (
-
+
{cm.chat ? (
<>
diff --git a/frontend/src/components/AppShell.tsx b/frontend/src/components/AppShell.tsx
index f21a80ef..98bd70a9 100644
--- a/frontend/src/components/AppShell.tsx
+++ b/frontend/src/components/AppShell.tsx
@@ -112,8 +112,8 @@ function Header({ mobileNavPlacement, suppressMobileChrome = false, onOpenLeftNa