From 4fae8f04f546d2b3f6053870d93385fa36af4742 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Fri, 9 Feb 2024 15:32:04 +0000
Subject: [ui] Adding the favourites and archive pages

---
 packages/web/app/dashboard/layout.tsx | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

(limited to 'packages/web/app/dashboard/layout.tsx')

diff --git a/packages/web/app/dashboard/layout.tsx b/packages/web/app/dashboard/layout.tsx
index 220949c7..87c88a4b 100644
--- a/packages/web/app/dashboard/layout.tsx
+++ b/packages/web/app/dashboard/layout.tsx
@@ -1,15 +1,16 @@
-import Bookmarks from "@/app/dashboard/bookmarks/page";
-import Sidebar from "@/app/dashboard/components/Sidebar";
+import Sidebar from "./components/Sidebar";
 
-export default async function Dashboard() {
+export default async function Dashboard({
+  children,
+}: Readonly<{
+  children: React.ReactNode;
+}>) {
   return (
     <div className="flex h-screen w-screen">
       <div className="flex-none">
         <Sidebar />
       </div>
-      <div className="flex-1 bg-gray-100">
-        <Bookmarks />
-      </div>
+      <div className="flex-1 bg-gray-100">{children}</div>
     </div>
   );
 }
-- 
cgit v1.2.3-70-g09d2

