import { LinkRounded, Wallet } from '@mui/icons-material' import { Box, Link, Typography } from '@mui/material' import type { OpenOceanStepExtended } from '@openocean.finance/widget-sdk' import { useTranslation } from 'react-i18next' import { CardIconButton } from '../Card/CardIconButton.js' import { CircularIcon } from './CircularProgress.style.js' export const DestinationWalletAddress: React.FC<{ step: OpenOceanStepExtended 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, })} ) }