diff --git a/src/pages/products/index.jsx b/src/pages/products/index.jsx index 2f91e94..81886b0 100644 --- a/src/pages/products/index.jsx +++ b/src/pages/products/index.jsx @@ -11,7 +11,7 @@ import SearchBar from "@/components/searchbar"; import { categories } from "@/constants"; -export default function ProductsPage({ queryParams }) { +export default function ProductsPage() { const { register, handleSubmit, @@ -63,7 +63,7 @@ export default function ProductsPage({ queryParams }) { message: "30 character max", }, }} - queryParams={queryParams} + queryParams={{}} /> {/* ); } - -export async function getServerSideProps({ query }) { - const queryParams = query; - - return { - props: { - queryParams, - }, - }; -}