From 835d46fc62f98955deb1cd5d6df1719e3dac5b61 Mon Sep 17 00:00:00 2001 From: ismailbenlaredj Date: Mon, 27 Nov 2023 13:01:44 +0100 Subject: [PATCH] fix(fix): deployment --- src/pages/products/index.jsx | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) 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, - }, - }; -}