Skip to content

Commit 400707d

Browse files
committed
fix detailed view
1 parent 47a660e commit 400707d

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/ui/pages/SendTransaction/TransactionAdvancedView/TransactionAdvancedView.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import { PageBottom } from 'src/ui/components/PageBottom';
2828
import type { MultichainTransaction } from 'src/shared/types/MultichainTransaction';
2929
import type { NetworkConfig } from 'src/modules/networks/NetworkConfig';
3030
import { Networks } from 'src/modules/networks/Networks';
31+
import { RecipientLine } from 'src/ui/components/address-action/RecipientLine';
3132

3233
function maybeHexValue(value?: BigNumberish | null): string | null {
3334
return value ? valueToHex(value) : null;
@@ -228,7 +229,17 @@ export function TransactionAdvancedView({
228229
['--surface-background-color' as string]: 'var(--neutral-100)',
229230
}}
230231
>
231-
<ApplicationLine addressAction={addressAction} network={network} />
232+
{addressAction.label?.wallet ? (
233+
<RecipientLine
234+
recipientAddress={addressAction.label.wallet.address}
235+
recipientName={addressAction.label.wallet.name || null}
236+
network={network}
237+
showNetworkIcon={true}
238+
/>
239+
) : null}
240+
{addressAction.label?.contract ? (
241+
<ApplicationLine addressAction={addressAction} network={network} />
242+
) : null}
232243
{transaction.evm ? (
233244
<TransactionDetails
234245
network={network}

0 commit comments

Comments
 (0)