import { createDraftHook } from '@/hooks/use-draft-save';
import type { CuttingDraftData } from '@/lib/cutting-draft';
import { clearCuttingDraft, saveCuttingDraft } from '@/lib/cutting-draft';

export const useCuttingDraftSave = createDraftHook<CuttingDraftData>({
    save: saveCuttingDraft,
    clear: clearCuttingDraft,
});
