From 8f0e9b182e971dff98b18c707d3eb6238abf286e Mon Sep 17 00:00:00 2001
From: Md Saban <45597394+mdsaban@users.noreply.github.com>
Date: Sun, 23 Jun 2024 17:08:34 +0530
Subject: ui(web): move layout selector to main screen (#252)

---
 apps/web/app/dashboard/search/page.tsx | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'apps/web/app/dashboard/search/page.tsx')

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} />
       ) : (
-- 
cgit v1.3-1-g0d28

