Fixed types

This commit is contained in:
Luis Alvarez
2021-02-25 17:18:50 -05:00
parent 46ae76c67f
commit e90d9a2121
9 changed files with 28 additions and 23 deletions

View File

@@ -24,7 +24,8 @@ const fetcher: HookFetcherFn<Cart | null, FetchCartInput> = async ({
checkout = await checkoutCreate(fetch)
}
return checkoutToCart({ checkout })
// TODO: Fix this type
return checkoutToCart({ checkout } as any)
}
export default fetcher