Fixed remaining issues with types

This commit is contained in:
Luis Alvarez
2021-02-15 12:02:24 -05:00
parent 499516e967
commit bb0b8d2771
8 changed files with 26 additions and 14 deletions

View File

@@ -68,7 +68,7 @@ async function getCustomerWishlist({
const productsById = graphqlData.products.reduce<{
[k: number]: ProductEdge
}>((prods, p) => {
prods[p.node.entityId] = p
prods[Number(p.node.entityId)] = p as any
return prods
}, {})
// Populate the wishlist items with the graphql products