Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(wallet & dashboard): fix review & send icon #4373

Merged
merged 4 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ export function ReviewValuesFormView({
<CardImage type={ImageType.BgSolid}>
<CoinIcon
coinType={coinType}
size={ImageIconSize.Small}
rounded
hasCoinWrapper
size={ImageIconSize.Small}
/>
</CardImage>
<CardBody
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
CardType,
ImageType,
} from '@iota/apps-ui-kit';
import { IOTA_TYPE_ARG } from '@iota/iota-sdk/utils';

interface TxnAmountProps {
amount: string | number | bigint;
Expand All @@ -29,13 +28,7 @@ export function TxnAmount({ amount, coinType, subtitle, approximation }: TxnAmou
return Number(amount) !== 0 ? (
<Card type={CardType.Filled}>
<CardImage type={ImageType.BgSolid}>
<div className="flex h-full w-full items-center justify-center rounded-full border border-shader-neutral-light-8 text-neutral-10 dark:text-neutral-92">
<CoinIcon
coinType={coinType}
rounded
size={coinType === IOTA_TYPE_ARG ? ImageIconSize.Small : ImageIconSize.Full}
/>
</div>
<CoinIcon coinType={coinType} rounded size={ImageIconSize.Large} hasCoinWrapper />
</CardImage>
<CardBody
title={`${approximation ? '~' : ''}${formatAmount} ${symbol}`}
Expand Down
Loading