mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Mapped options to variants
This commit is contained in:
@@ -119,7 +119,8 @@ const ProductView: FC<Props> = ({ product }) => {
|
||||
<Swatch
|
||||
key={`${opt.id}-${i}`}
|
||||
active={v.label.toLowerCase() === active}
|
||||
variant={opt.displayName}
|
||||
// variant={opt.displayName}
|
||||
variant={opt.variant}
|
||||
color={v.hexColors ? v.hexColors[0] : ''}
|
||||
label={v.label}
|
||||
onClick={() => {
|
||||
|
Reference in New Issue
Block a user