import { createDraftHook } from '@/hooks/use-draft-save';
import { clearRestockDraft, saveRestockDraft } from '@/lib/restock-draft';
import type { RestockDraftData } from '@/lib/restock-draft';

export const useRestockDraftSave = createDraftHook<RestockDraftData>({
    save: saveRestockDraft,
    clear: clearRestockDraft,
});
