cleanup, add sorting

This commit is contained in:
Greg Hoskin
2021-04-25 14:20:58 -05:00
parent 6a9c6c3bca
commit a409c373c4
52 changed files with 74 additions and 618 deletions

View File

@@ -15,7 +15,6 @@ export const handler: SWRHook<Cart | null> = {
const cart = await checkoutCreate(fetch)
return cart ? normalizeCart(cart) : null
// return checkoutToCart({ checkout } as any)
},
useHook: ({ useData }) => (input) => {
return useData({