diff --git a/src/app/_components/BackupWarningModal.tsx b/src/app/_components/BackupWarningModal.tsx index d93f5c9..d5e3f5f 100644 --- a/src/app/_components/BackupWarningModal.tsx +++ b/src/app/_components/BackupWarningModal.tsx @@ -1,8 +1,8 @@ -'use client'; +"use client"; -import { Button } from './ui/button'; -import { AlertTriangle } from 'lucide-react'; -import { useRegisterModal } from './modal/ModalStackProvider'; +import { Button } from "./ui/button"; +import { AlertTriangle } from "lucide-react"; +import { useRegisterModal } from "./modal/ModalStackProvider"; interface BackupWarningModalProps { isOpen: boolean; @@ -13,33 +13,43 @@ interface BackupWarningModalProps { export function BackupWarningModal({ isOpen, onClose, - onProceed + onProceed, }: BackupWarningModalProps) { - useRegisterModal(isOpen, { id: 'backup-warning-modal', allowEscape: true, onClose }); + useRegisterModal(isOpen, { + id: "backup-warning-modal", + allowEscape: true, + onClose, + }); if (!isOpen) return null; return ( -
- 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.
+
+ 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.
+
Discovered backups grouped by container ID
- {isDiscovering ? 'Discovering backups...' : 'Loading backups...'} + {isDiscovering ? "Discovering backups..." : "Loading backups..."}
- Click "Discover Backups" to scan for backups on your servers. + Click "Discover Backups" to scan for backups on your + servers.