mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Added basis setup and type generation for the products queries
This commit is contained in:
@@ -22,7 +22,7 @@ const getProduct = async (options: {
|
||||
variables,
|
||||
})
|
||||
|
||||
const { productByHandle: product } = data
|
||||
const { product } = data
|
||||
|
||||
return {
|
||||
product: product ? normalizeProduct(product) : null,
|
||||
|
Reference in New Issue
Block a user