aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/dashboard/search
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/app/dashboard/search')
-rw-r--r--apps/web/app/dashboard/search/page.tsx11
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} />
) : (