import type { LiFiStepExtended } from '@lifi/sdk' import LinkRounded from '@mui/icons-material/LinkRounded' import Wallet from '@mui/icons-material/Wallet' import { Box, Link, Typography } from '@mui/material' import { useTranslation } from 'react-i18next' import { CardIconButton } from '../Card/CardIconButton.js' import { CircularIcon } from './CircularProgress.style.js' export const DestinationWalletAddress: React.FC<{ step: LiFiStepExtended toAddress: string toAddressLink: string }> = ({ step, toAddress, toAddressLink }) => { const { t } = useTranslation() const isDone = step.execution?.status === 'DONE' return ( {isDone ? t('main.sentToAddress', { address: toAddress, }) : t('main.sendToAddress', { address: toAddress, })} ) }