diff --git a/src/app/(pages)/4q-gallery/page.tsx b/src/app/(pages)/4q-gallery/page.tsx index b6080a2..1970f2c 100644 --- a/src/app/(pages)/4q-gallery/page.tsx +++ b/src/app/(pages)/4q-gallery/page.tsx @@ -9,11 +9,16 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import SearchParamsHandler from "./_components/search-params"; export default function Page() { - const searchParams = useSearchParams(); - - const [isSearchContainerVisible, setIsSearchContainerVisible] = - useState(false); + return ( + + + + ); +} +function GalleryContent() { + const searchParams = useSearchParams(); + const [isSearchContainerVisible, setIsSearchContainerVisible] = useState(false); const queryClient = new QueryClient(); const categoryParam = searchParams?.get("category") || "all";