1
0
mirror of https://github.com/vercel/commerce.git synced 2025-07-03 19:51:22 +00:00
commerce/lib/bigcommerce/wishlist/use-wishlist-actions.tsx
2020-10-26 17:25:15 -05:00

12 lines
352 B
TypeScript

import useAddItem from './use-add-item'
import useRemoveItem from './use-remove-item'
// This hook is probably not going to be used, but it's here
// to show how a commerce should be structuring it
export default function useWishlistActions() {
const addItem = useAddItem()
const removeItem = useRemoveItem('')
return { addItem, removeItem }
}