This commit is contained in:
cond0r
2021-02-25 11:16:44 +02:00
parent f242f3c588
commit e6792d6dd0
10 changed files with 19 additions and 28 deletions

View File

@@ -41,7 +41,6 @@ const normalizeProductImages = ({ edges }: ImageConnection) =>
}))
const normalizeProductVariants = ({ edges }: ProductVariantConnection) => {
console.log(edges)
return edges?.map(({ node: { id, selectedOptions } }) => ({
id,
options: selectedOptions.map(({ name, value }: SelectedOption) =>