import { createDraftHook } from '@/hooks/use-draft-save';
import { clearProductDraft, saveProductDraft } from '@/lib/product-draft';
import type { ProductDraftData } from '@/lib/product-draft';

export const useProductDraftSave = createDraftHook<ProductDraftData>({
    save: saveProductDraft,
    clear: clearProductDraft,
});
