Moved handler to each hook

This commit is contained in:
cond0r
2021-02-16 10:15:18 +02:00
parent 44081dddb6
commit f698dea698
17 changed files with 195 additions and 170 deletions

View File

@@ -3,7 +3,7 @@ import { GraphQLFetcherResult } from '@commerce/api'
import { getConfig, ShopifyConfig } from '../api'
import { Product } from '../schema'
import getProductQuery from '../utils/queries/get-product-query'
import { normalizeProduct } from '@framework/lib/normalize'
import { normalizeProduct } from '@framework/utils/normalize'
export type ProductNode = Product