diff --git a/apps/storefront/src/components/product-detail/reviews/ProductDetailReviewsPanel.tsx b/apps/storefront/src/components/product-detail/reviews/ProductDetailReviewsPanel.tsx index 956f902..809d5a1 100644 --- a/apps/storefront/src/components/product-detail/reviews/ProductDetailReviewsPanel.tsx +++ b/apps/storefront/src/components/product-detail/reviews/ProductDetailReviewsPanel.tsx @@ -27,7 +27,7 @@ export function ProductDetailReviewsPanel({ productId, initialRating, initialRev productId: productId as Id<"products">, sortBy, limit: offset + LIMIT, - offset: 0, // In this pattern, we increase limit to fetch more pages without resetting offset, so previously fetched array grows + offset: 0, }); if (result === undefined) return ;