From c5325147015e371c13b4a457418f66511365d57c Mon Sep 17 00:00:00 2001 From: Aslam H Date: Thu, 12 Sep 2024 05:22:34 +0700 Subject: [PATCH] chore: scrollable and remove link wrapper --- web/app/(pages)/layout.tsx | 2 +- web/components/routes/link/LinkRoute.tsx | 4 ++-- web/components/routes/link/list.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/app/(pages)/layout.tsx b/web/app/(pages)/layout.tsx index f12905a6..4f86a094 100644 --- a/web/app/(pages)/layout.tsx +++ b/web/app/(pages)/layout.tsx @@ -18,7 +18,7 @@ export default function PageLayout({ children }: { children: React.ReactNode })
-
+
{children}
diff --git a/web/components/routes/link/LinkRoute.tsx b/web/components/routes/link/LinkRoute.tsx index 62e5f8a9..ce81bee5 100644 --- a/web/components/routes/link/LinkRoute.tsx +++ b/web/components/routes/link/LinkRoute.tsx @@ -51,7 +51,7 @@ export function LinkRoute(): React.ReactElement { }, [isDeleteConfirmShown, isCommandPaletteOpen, isInCreateMode, handleCommandPaletteClose]) return ( -
+ <> -
+ ) } diff --git a/web/components/routes/link/list.tsx b/web/components/routes/link/list.tsx index 67a0154a..47f510ca 100644 --- a/web/components/routes/link/list.tsx +++ b/web/components/routes/link/list.tsx @@ -247,7 +247,7 @@ const LinkList: React.FC = ({ activeItemIndex, setActiveItemIndex return (