Skip to content

Commit

Permalink
fix(fix): deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail-benlaredj committed Nov 27, 2023
1 parent 4689f7f commit 835d46f
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/pages/products/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -63,7 +63,7 @@ export default function ProductsPage({ queryParams }) {
message: "30 character max",
},
}}
queryParams={queryParams}
queryParams={{}}
/>

{/* <Input
Expand Down Expand Up @@ -137,13 +137,3 @@ export default function ProductsPage({ queryParams }) {
</div>
);
}

export async function getServerSideProps({ query }) {
const queryParams = query;

return {
props: {
queryParams,
},
};
}

1 comment on commit 835d46f

@vercel
Copy link

@vercel vercel bot commented on 835d46f Nov 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.