import { Dialog, DialogClose, DialogContent, DialogHeader, DialogTitle, } from "@components/UI/Dialog.tsx"; import { Button } from "@components/UI/Button.tsx"; import { LockKeyholeOpenIcon } from "lucide-react"; import { useRefreshKeysDialog } from "./useRefreshKeysDialog.ts"; export interface RefreshKeysDialogProps { open: boolean; onOpenChange: (open: boolean) => void; } export const RefreshKeysDialog = ({ open, onOpenChange }: RefreshKeysDialogProps) => { const { handleCloseDialog, handleNodeRemove } = useRefreshKeysDialog(); return ( Keys Mismatch Your node is unable to send a direct message to this node. This is due to the remote node's current public key not matching the previously stored key for this node.
  • Accept New Keys

    This will remove the node from device and request new keys.

{/* */}
); };