Revert files

This commit is contained in:
cond0r
2021-09-23 19:16:06 +03:00
parent 0ea2490f2a
commit 5c50a1aff0
2 changed files with 14 additions and 16 deletions

View File

@@ -29,9 +29,7 @@ export const handler: MutationHook<AddItemHook> = {
return data
},
useHook:
({ fetch }) =>
() => {
useHook: ({ fetch }) => () => {
const { mutate } = useCart()
return useCallback(

View File

@@ -23,8 +23,8 @@
"@components/*": ["components/*"],
"@commerce": ["framework/commerce"],
"@commerce/*": ["framework/commerce/*"],
"@framework": ["framework/shopify"],
"@framework/*": ["framework/shopify/*"]
"@framework": ["framework/local"],
"@framework/*": ["framework/local/*"]
}
},
"include": ["next-env.d.ts", "**/*.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"],