import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, } from "@/components/ui/alert-dialog"; interface DeleteChatDialogProps { isOpen: boolean; onOpenChange: (open: boolean) => void; onConfirmDelete: () => void; chatTitle?: string; } export function DeleteChatDialog({ isOpen, onOpenChange, onConfirmDelete, chatTitle, }: DeleteChatDialogProps) { return ( Delete Chat Are you sure you want to delete "{chatTitle || "this chat"}"? This action cannot be undone and all messages in this chat will be permanently lost.

Note: Any code changes that have already been accepted will be kept.
Cancel Delete Chat
); }