({
diff --git a/components/grid/tile.tsx b/components/grid/tile.tsx
index 959ec19d5..555ec7d2f 100644
--- a/components/grid/tile.tsx
+++ b/components/grid/tile.tsx
@@ -20,7 +20,7 @@ export function GridTileImage({
return (
+
{
+ router.replace(optionUrl, { scroll: false });
+ }}
title={`${option.name} ${value}${!isAvailableForSale ? ' (Out of Stock)' : ''}`}
className={clsx(
'flex min-w-[48px] items-center justify-center rounded-full border bg-neutral-100 px-2 py-1 text-sm dark:border-neutral-800 dark:bg-neutral-900',
@@ -98,10 +95,9 @@ export function VariantSelector({
!isAvailableForSale
}
)}
- {...dynamicProps}
>
{value}
-
+
);
})}
diff --git a/next.config.js b/next.config.js
index 0b0db063b..ba00755ef 100644
--- a/next.config.js
+++ b/next.config.js
@@ -16,5 +16,14 @@ module.exports = {
hostname: 'cdn.shopware.store'
}
]
+ },
+ async redirects() {
+ return [
+ {
+ source: '/password',
+ destination: '/',
+ permanent: true
+ }
+ ];
}
};