From 9dd1678904e8a6baee9b3d49e6902254a9f5c2a6 Mon Sep 17 00:00:00 2001 From: Michael Novotny Date: Tue, 25 Jul 2023 10:42:37 -0500 Subject: [PATCH] Fix TS error --- components/product/variant-selector.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/product/variant-selector.tsx b/components/product/variant-selector.tsx index 680d6d0c3..188a5b406 100644 --- a/components/product/variant-selector.tsx +++ b/components/product/variant-selector.tsx @@ -108,13 +108,14 @@ export function VariantSelector({ const DynamicTag = isAvailableForSale ? Link : 'p'; const dynamicProps = { - ...(isAvailableForSale && { href: optionUrl, scroll: false }) + ...(isAvailableForSale && { scroll: false }) }; return (