import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select' import { TMailboxRelay, TMailboxRelayScope } from '@/types' import { CircleX } from 'lucide-react' import { useTranslation } from 'react-i18next' import RelayIcon from '../RelayIcon' export default function MailboxRelay({ mailboxRelay, changeMailboxRelayScope, removeMailboxRelay }: { mailboxRelay: TMailboxRelay changeMailboxRelayScope: (url: string, scope: TMailboxRelayScope) => void removeMailboxRelay: (url: string) => void }) { const { t } = useTranslation() return (
{mailboxRelay.url}
removeMailboxRelay(mailboxRelay.url)} className="text-muted-foreground hover:text-destructive clickable" />
) }