"use client"; import { Button } from "./ui/button"; import { AlertTriangle } from "lucide-react"; import { useRegisterModal } from "./modal/ModalStackProvider"; interface BackupWarningModalProps { isOpen: boolean; onClose: () => void; onProceed: () => void; } export function BackupWarningModal({ isOpen, onClose, onProceed, }: BackupWarningModalProps) { useRegisterModal(isOpen, { id: "backup-warning-modal", allowEscape: true, onClose, }); if (!isOpen) return null; return (
{/* Header */}

Backup Failed

{/* Content */}

The backup failed, but you can still proceed with the update if you wish.

Warning: Proceeding without a backup means you won't be able to restore the container if something goes wrong during the update.

{/* Action Buttons */}
); }