aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/bookmarks
diff options
context:
space:
mode:
authorMd Saban <45597394+mdsaban@users.noreply.github.com>2024-06-23 17:08:34 +0530
committerGitHub <noreply@github.com>2024-06-23 12:38:34 +0100
commit8f0e9b182e971dff98b18c707d3eb6238abf286e (patch)
treeca6fa65cc49cc2b7ef797d42c4b8db12ef1064cf /apps/web/components/dashboard/bookmarks
parent9ce6958ada86dade84e406e4e930775c59abf289 (diff)
downloadkarakeep-8f0e9b182e971dff98b18c707d3eb6238abf286e.tar.zst
ui(web): move layout selector to main screen (#252)
Diffstat (limited to 'apps/web/components/dashboard/bookmarks')
-rw-r--r--apps/web/components/dashboard/bookmarks/Bookmarks.tsx2
-rw-r--r--apps/web/components/dashboard/bookmarks/TopNav.tsx5
2 files changed, 1 insertions, 6 deletions
diff --git a/apps/web/components/dashboard/bookmarks/Bookmarks.tsx b/apps/web/components/dashboard/bookmarks/Bookmarks.tsx
index 6a9266b9..5729e846 100644
--- a/apps/web/components/dashboard/bookmarks/Bookmarks.tsx
+++ b/apps/web/components/dashboard/bookmarks/Bookmarks.tsx
@@ -14,7 +14,7 @@ export default async function Bookmarks({
showEditorCard = false,
}: {
query: ZGetBookmarksRequest;
- header: React.ReactNode;
+ header?: React.ReactNode;
showDivider?: boolean;
showEditorCard?: boolean;
}) {
diff --git a/apps/web/components/dashboard/bookmarks/TopNav.tsx b/apps/web/components/dashboard/bookmarks/TopNav.tsx
deleted file mode 100644
index 189c9d5c..00000000
--- a/apps/web/components/dashboard/bookmarks/TopNav.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-import { SearchInput } from "../search/SearchInput";
-
-export default function TopNav() {
- return <SearchInput />;
-}