import { useModalAmbientDuck } from '../../context/AmbientMusicContext'; import { HelpTip } from '../HelpTip'; import './FleetDeleteConfirmModal.css'; interface Props { open: boolean; count: number; agentName?: string; onConfirm: () => void; onCancel: () => void; } export default function FleetDeleteConfirmModal({ open, count, agentName, onConfirm, onCancel, }: Props) { useModalAmbientDuck(open); if (!open || count < 1) return null; const title = count === 1 && agentName ? `Remove "${agentName}" from fleet?` : `Remove ${count} machine${count === 1 ? '' : 's'} from fleet?`; return (
{title}
Removes the record from the server fleet registry only — does not uninstall the agent on the host. Use Remote Actions → Uninstall if you need to remove the miner binary.