diff options
| author | Md Saban <45597394+mdsaban@users.noreply.github.com> | 2024-10-12 18:37:20 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-12 14:07:20 +0100 |
| commit | 1f768be0485bbfa6b542dd24183fe8389acb9355 (patch) | |
| tree | b803eefba19cddfad988b3bd1979b693fbc0f694 /apps/web/app/dashboard/search | |
| parent | e2644ebc11e9521ece054a846f8c993c322a8332 (diff) | |
| download | karakeep-1f768be0485bbfa6b542dd24183fe8389acb9355.tar.zst | |
feature(web): Introduce a new sticky navbar. Fixes 520 (#515)
* ui: add global header
* fix: design fixes
* fix: tests
* fix navbar background, hide y scrollbar and change sidebar footer to show version
---------
Co-authored-by: MohamedBassem <me@mbassem.com>
Diffstat (limited to 'apps/web/app/dashboard/search')
| -rw-r--r-- | apps/web/app/dashboard/search/page.tsx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/apps/web/app/dashboard/search/page.tsx b/apps/web/app/dashboard/search/page.tsx index e7405c85..a239550c 100644 --- a/apps/web/app/dashboard/search/page.tsx +++ b/apps/web/app/dashboard/search/page.tsx @@ -1,24 +1,15 @@ "use client"; -import { Suspense, useRef } from "react"; +import { Suspense } from "react"; import BookmarksGrid from "@/components/dashboard/bookmarks/BookmarksGrid"; -import GlobalActions from "@/components/dashboard/GlobalActions"; -import { SearchInput } from "@/components/dashboard/search/SearchInput"; import { FullPageSpinner } from "@/components/ui/full-page-spinner"; import { useBookmarkSearch } from "@/lib/hooks/bookmark-search"; function SearchComp() { const { data } = useBookmarkSearch(); - const inputRef: React.MutableRefObject<HTMLInputElement | null> = - useRef<HTMLInputElement | null>(null); - return ( <div className="flex flex-col gap-3"> - <div className="flex gap-2"> - <SearchInput ref={inputRef} autoFocus={true} /> - <GlobalActions /> - </div> {data ? ( <BookmarksGrid bookmarks={data.bookmarks} /> ) : ( |
