From 287aa4a82253bc70a23562b679e9bb4c9e6c00ea Mon Sep 17 00:00:00 2001 From: Massimo De Marchi Date: Tue, 9 Jan 2024 16:31:28 +0100 Subject: [PATCH] refactor(product page): Remove unnecessary HStack --- .../ProductOverviewSection/ProductOptions.tsx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/frontend/templates/product/sections/ProductOverviewSection/ProductOptions.tsx b/frontend/templates/product/sections/ProductOverviewSection/ProductOptions.tsx index 5c427834..95dbdeaa 100644 --- a/frontend/templates/product/sections/ProductOverviewSection/ProductOptions.tsx +++ b/frontend/templates/product/sections/ProductOverviewSection/ProductOptions.tsx @@ -3,7 +3,6 @@ import { BoxProps, Circle, Flex, - HStack, Image, Select, SimpleGrid, @@ -48,13 +47,11 @@ export function ProductOptions({ const selectorType = getSelectorType(option); return ( - - - {option.name} - {selectorType === SelectorType.SINGLE && - `: ${option.values[0]}`} - - + + {option.name} + {selectorType === SelectorType.SINGLE && + `: ${option.values[0]}`} + {selectorType === SelectorType.SELECT && (