|
|
|
@ -4,15 +4,13 @@ import classnames from 'classnames'; |
|
|
|
|
import copyToClipboard from 'copy-to-clipboard'; |
|
|
|
|
import { getTokenTrackerLink, getAccountLink } from '@metamask/etherscan-link'; |
|
|
|
|
import UrlIcon from '../../../components/ui/url-icon'; |
|
|
|
|
import { addressSummary, getURLHostName } from '../../../helpers/utils/util'; |
|
|
|
|
import { addressSummary } from '../../../helpers/utils/util'; |
|
|
|
|
import { formatCurrency } from '../../../helpers/utils/confirm-tx.util'; |
|
|
|
|
import { isBeta } from '../../../helpers/utils/build-types'; |
|
|
|
|
import { ellipsify } from '../../send/send.utils'; |
|
|
|
|
import Typography from '../../../components/ui/typography'; |
|
|
|
|
import Box from '../../../components/ui/box'; |
|
|
|
|
import Button from '../../../components/ui/button'; |
|
|
|
|
import EditGasFeeButton from '../../../components/app/edit-gas-fee-button'; |
|
|
|
|
import MetaFoxLogo from '../../../components/ui/metafox-logo'; |
|
|
|
|
import Identicon from '../../../components/ui/identicon'; |
|
|
|
|
import MultiLayerFeeMessage from '../../../components/app/multilayer-fee-message'; |
|
|
|
|
import CopyIcon from '../../../components/ui/icon/copy-icon.component'; |
|
|
|
@ -610,17 +608,11 @@ export default class ConfirmApproveContent extends Component { |
|
|
|
|
display={DISPLAY.FLEX} |
|
|
|
|
className="confirm-approve-content__icon-display-content" |
|
|
|
|
> |
|
|
|
|
<Box className="confirm-approve-content__metafoxlogo"> |
|
|
|
|
<MetaFoxLogo useDark={isBeta()} /> |
|
|
|
|
</Box> |
|
|
|
|
<Box |
|
|
|
|
display={DISPLAY.FLEX} |
|
|
|
|
className="confirm-approve-content__siteinfo" |
|
|
|
|
> |
|
|
|
|
<Box display={DISPLAY.FLEX}> |
|
|
|
|
<UrlIcon |
|
|
|
|
className="confirm-approve-content__siteimage-identicon" |
|
|
|
|
fallbackClassName="confirm-approve-content__siteimage-identicon" |
|
|
|
|
name={getURLHostName(origin)} |
|
|
|
|
name={origin} |
|
|
|
|
url={siteImage} |
|
|
|
|
/> |
|
|
|
|
<Typography |
|
|
|
@ -629,7 +621,7 @@ export default class ConfirmApproveContent extends Component { |
|
|
|
|
color={COLORS.TEXT_ALTERNATIVE} |
|
|
|
|
boxProps={{ marginLeft: 1, marginTop: 2 }} |
|
|
|
|
> |
|
|
|
|
{getURLHostName(origin)} |
|
|
|
|
{origin} |
|
|
|
|
</Typography> |
|
|
|
|
</Box> |
|
|
|
|
</Box> |
|
|
|
|