import type { GetCardsHook } from '@commerce/types/customer/card' import { useMemo } from 'react' import { SWRHook } from '@commerce/utils/types' import useCard, { UseCards } from '@commerce/customer/card/use-cards' export default useCard as UseCards export const handler: SWRHook = { fetchOptions: { query: '_', method: '_', }, useHook: () => function useHook() { return useMemo( () => Object.create( {}, { isEmpty: { get() { return true }, enumerable: true, }, } ), [] ) }, }