"use client"; import { Modal } from "@/app/_components/GlobalComponents/UIElements/Modal"; import { Button } from "@/app/_components/GlobalComponents/UIElements/Button"; import { Calendar, Terminal, MessageSquare, AlertCircle, Trash2, } from "lucide-react"; import { CronJob } from "@/app/_utils/cronjob-utils"; interface DeleteTaskModalProps { isOpen: boolean; onClose: () => void; onConfirm: () => void; job: CronJob | null; } export const DeleteTaskModal = ({ isOpen, onClose, onConfirm, job, }: DeleteTaskModalProps) => { if (!job) return null; return (
{job.schedule}
                {job.command}
              
{job.comment && (

{job.comment}

)}

This action cannot be undone

The task will be permanently removed.

); };