saleor: update the provider structure

This commit is contained in:
Zaiste
2021-06-04 22:43:28 +02:00
parent 79e916f6ee
commit 33992283b3
44 changed files with 580 additions and 513 deletions

View File

@@ -120,8 +120,7 @@ const ProductView: FC<Props> = ({ product }) => {
<Swatch
key={`${opt.id}-${i}`}
active={v.label.toLowerCase() === active}
// variant={opt.displayName}
variant={opt.variant}
variant={opt.displayName}
color={v.hexColors ? v.hexColors[0] : ''}
label={v.label}
onClick={() => {