fix(reviews): remove redundant comment in ProductDetailReviewsPanel component
All checks were successful
Deploy — Staging / Detect changed apps (push) Successful in 15s
Deploy — Staging / Lint, Typecheck & Test (push) Successful in 1m27s
Deploy — Staging / Build & push — storefront (push) Successful in 2m16s
Deploy — Staging / Build & push — admin (push) Has been skipped
Deploy — Staging / Deploy to staging VPS (push) Successful in 19s

This commit is contained in:
2026-03-08 16:43:40 +03:00
parent 777c3b34bc
commit f1dbf0b6ee

View File

@@ -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 <ProductDetailReviewsSkeleton />;