feat: confirm modals on deleting

This commit is contained in:
2025-08-08 15:32:56 +04:00
parent afad1b4605
commit d3febcdfb0
6 changed files with 52 additions and 24 deletions

View File

@ -28,7 +28,7 @@ type StatusesContextState = {
refetchStatuses: () => void;
onCreateStatus: (name: string) => void;
onUpdateStatus: (statusId: number, status: UpdateStatusSchema) => void;
onDeleteStatus: (statusId: number) => void;
onDeleteStatus: (status: StatusSchema) => void;
};
const StatusesContext = createContext<StatusesContextState | undefined>(