We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e8240 commit 9a2588eCopy full SHA for 9a2588e
src/ui/components/address-action/ApplicationLine/ApplicationLine.tsx
@@ -121,6 +121,11 @@ export function ApplicationLine({
121
? toChecksumAddress(action.label.contract.address)
122
: null;
123
124
+ const name =
125
+ action.label?.contract?.dapp.name !== action.label?.contract?.address
126
+ ? action.label?.contract?.dapp.name
127
+ : null;
128
+
129
return (
130
<Surface style={{ borderRadius: 8, padding: '10px 12px' }}>
131
<Media
@@ -139,7 +144,7 @@ export function ApplicationLine({
139
144
<UIText kind="body/accent" color="var(--black)">
140
145
<ShuffleText
141
146
text={
142
- action.label?.contract?.dapp.name ||
147
+ name ||
143
148
(applicationAddress
149
? truncateAddress(applicationAddress, 4)
150
: '')
0 commit comments