@@ -8,7 +8,7 @@ export async function getProductReviews(productId: string) {
const variables = { product_id: Number(productId), first: 10 };
const {data:response} = await cachedProductRequest<any>(
- productId,
+ // productId,
GET_PRODUCT_REVIEWS,
variables
);
@@ -6,7 +6,7 @@ import { cachedProductRequest } from "@/utils/hooks/useCache";
export async function getProductWithSwatchAndReview(urlKey: string) {
try {
const {data:dataById} = await cachedProductRequest<SingleProductResponse>(
- urlKey,
+ // urlKey,
GET_PRODUCT_SWATCH_REVIEW,
{ urlKey: urlKey }