import { Button } from '@/components/ui/button'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; import { X, AlertTriangle, RefreshCw } from 'lucide-react'; export interface MintToRemove { url: string; name?: string; } interface RemoveMintModalProps { isOpen: boolean; onClose: () => void; mintToRemove: MintToRemove | null; onConfirm: () => void; isLoading: boolean; } export function RemoveMintModal({ isOpen, onClose, mintToRemove, onConfirm, isLoading, }: RemoveMintModalProps) { if (!isOpen || !mintToRemove) return null; return (
Remove Mint Are you sure you want to remove this mint from your wallet?
{mintToRemove.name || new URL(mintToRemove.url).hostname}
⚠️ This will remove the mint and all associated data. Any tokens from this mint will no longer be accessible.
💡 You can always add this mint back later if needed.
); }