"use client"; import { Button } from "./ui/button"; import { Badge } from "./ui/badge"; import { X, ExternalLink, Calendar, Tag, AlertTriangle } from "lucide-react"; import { useRegisterModal } from "./modal/ModalStackProvider"; import ReactMarkdown from "react-markdown"; import remarkGfm from "remark-gfm"; interface UpdateConfirmationModalProps { isOpen: boolean; onClose: () => void; onConfirm: () => void; releaseInfo: { tagName: string; name: string; publishedAt: string; htmlUrl: string; body?: string; } | null; currentVersion: string; latestVersion: string; } export function UpdateConfirmationModal({ isOpen, onClose, onConfirm, releaseInfo, currentVersion, latestVersion, }: UpdateConfirmationModalProps) { useRegisterModal(isOpen, { id: "update-confirmation-modal", allowEscape: true, onClose, }); if (!isOpen || !releaseInfo) return null; return (
Review the changelog before proceeding with the update
{children}
), ul: ({ children }) => (No changelog available for this release.
Important:
Please review the changelog above for any breaking changes or important updates before proceeding. The server will restart automatically after the update completes.