diff --git a/components/cart/actions.ts b/components/cart/actions.ts index 3fb013194..bd22ccc69 100644 --- a/components/cart/actions.ts +++ b/components/cart/actions.ts @@ -14,7 +14,8 @@ export const addItem = async (variantId: string | undefined): Promise { - router.replace(optionUrl, { scroll: false }); + // TODO: Does now work under old Next.js + // router.replace(optionUrl, { scroll: false }); }} title={`${option.name} ${value}${!isAvailableForSale ? ' (Out of Stock)' : ''}`} className={clsx(