Sidebar and app layout structure

This commit is contained in:
2025-10-18 14:19:57 +02:00
parent 99af75ea25
commit 9483a7065b
9 changed files with 398 additions and 354 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
"use client";
import MessageBox from "@/components/MessageBox";
import AppSidebar from "@/components/Sidebar";
import AppLayout from "@/components/app/AppLayout";
import { useParams } from "next/navigation";
import useApp from "@/hooks/use-app";
import { useEffect, useRef } from "react";
@@ -30,7 +30,7 @@ export default function DMs() {
}, [target]);
return (
<AppSidebar app={app}>
<AppLayout app={app}>
<MessageBox
app={app}
channelName={target?.display_name || id}
@@ -52,6 +52,6 @@ export default function DMs() {
);
}}
/>
</AppSidebar>
</AppLayout>
);
}