|
@@ -6,7 +6,7 @@ import { cachedProductRequest } from "@/utils/hooks/useCache";
|
|
|
export async function getProductWithSwatchAndReview(urlKey: string) {
|
|
export async function getProductWithSwatchAndReview(urlKey: string) {
|
|
|
try {
|
|
try {
|
|
|
const {data:dataById} = await cachedProductRequest<SingleProductResponse>(
|
|
const {data:dataById} = await cachedProductRequest<SingleProductResponse>(
|
|
|
- urlKey,
|
|
|
|
|
|
|
+ // urlKey,
|
|
|
GET_PRODUCT_SWATCH_REVIEW,
|
|
GET_PRODUCT_SWATCH_REVIEW,
|
|
|
{ urlKey: urlKey }
|
|
{ urlKey: urlKey }
|
|
|
);
|
|
);
|