diff options
| author | Md Saban <45597394+mdsaban@users.noreply.github.com> | 2024-06-23 17:08:34 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-23 12:38:34 +0100 |
| commit | 8f0e9b182e971dff98b18c707d3eb6238abf286e (patch) | |
| tree | ca6fa65cc49cc2b7ef797d42c4b8db12ef1064cf /apps/web/app/dashboard/search | |
| parent | 9ce6958ada86dade84e406e4e930775c59abf289 (diff) | |
| download | karakeep-8f0e9b182e971dff98b18c707d3eb6238abf286e.tar.zst | |
ui(web): move layout selector to main screen (#252)
Diffstat (limited to 'apps/web/app/dashboard/search')
| -rw-r--r-- | apps/web/app/dashboard/search/page.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/web/app/dashboard/search/page.tsx b/apps/web/app/dashboard/search/page.tsx index 8454acc5..11febca6 100644 --- a/apps/web/app/dashboard/search/page.tsx +++ b/apps/web/app/dashboard/search/page.tsx @@ -2,9 +2,9 @@ import { Suspense, useRef } from "react"; import BookmarksGrid from "@/components/dashboard/bookmarks/BookmarksGrid"; +import ChangeLayout from "@/components/dashboard/ChangeLayout"; import { SearchInput } from "@/components/dashboard/search/SearchInput"; import { FullPageSpinner } from "@/components/ui/full-page-spinner"; -import { Separator } from "@/components/ui/separator"; import { useBookmarkSearch } from "@/lib/hooks/bookmark-search"; function SearchComp() { @@ -15,8 +15,10 @@ function SearchComp() { return ( <div className="flex flex-col gap-3"> - <SearchInput ref={inputRef} autoFocus={true} /> - <Separator /> + <div className="flex gap-2"> + <SearchInput ref={inputRef} autoFocus={true} /> + <ChangeLayout /> + </div> {data ? ( <BookmarksGrid bookmarks={data.bookmarks} /> ) : ( |
