From ec15d20abac65bfda6c8e6396ce9fc2061f5067a Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Wed, 24 Apr 2024 14:52:57 +0100
Subject: ui(web): Show bookmark URL when maximizing a bookmark

---
 apps/web/app/dashboard/layout.tsx | 3 +++
 1 file changed, 3 insertions(+)

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

diff --git a/apps/web/app/dashboard/layout.tsx b/apps/web/app/dashboard/layout.tsx
index 3b6908f8..23c379cb 100644
--- a/apps/web/app/dashboard/layout.tsx
+++ b/apps/web/app/dashboard/layout.tsx
@@ -7,8 +7,10 @@ import serverConfig from "@hoarder/shared/config";
 
 export default async function Dashboard({
   children,
+  modal,
 }: Readonly<{
   children: React.ReactNode;
+  modal: React.ReactNode;
 }>) {
   return (
     <div className="flex min-h-screen w-screen flex-col sm:h-screen sm:flex-row">
@@ -21,6 +23,7 @@ export default async function Dashboard({
           <MobileSidebar />
           <Separator />
         </div>
+        {modal}
         <div className="container min-h-screen p-4">{children}</div>
       </main>
     </div>
-- 
cgit v1.2.3-70-g09d2

