Skip to content

Commit

Permalink
fix(shopify): pagination loader plp
Browse files Browse the repository at this point in the history
  • Loading branch information
luanargolodev committed Oct 2, 2024
1 parent ae4068b commit 84935c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shopify/loaders/ProductListingPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const loader = async (

const count = props.count ?? 12;
const query = props.query || url.searchParams.get("q") || "";
const page = props.page || Number(url.searchParams.get("page")) || 0;
const page = props.page || Number(url.searchParams.get("page")) || 1;
const endCursor = props.endCursor || url.searchParams.get("endCursor") || "";
const startCursor = props.startCursor ||
url.searchParams.get("startCursor") || "";
Expand Down

0 comments on commit 84935c2

Please sign in to comment.