We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0c8874 commit b45cb76Copy full SHA for b45cb76
src/pages/network/components/TxItem/TransactionEvents.tsx
@@ -116,8 +116,14 @@ const EventRow = memo(function EventRow({
116
/>
117
</td>
118
<td className="whitespace-nowrap px-16 py-14 text-right font-space text-sm">
119
- <span className="font-500">{formatString(event.amount)}</span>{' '}
120
- <span className="text-gray-50">{event.assetName ?? 'QUBIC'}</span>
+ {event.amount !== undefined ? (
+ <>
121
+ <span className="font-500">{formatString(event.amount)}</span>{' '}
122
+ <span className="text-gray-50">{event.assetName ?? 'QUBIC'}</span>
123
+ </>
124
+ ) : (
125
+ <span className="text-gray-50">-</span>
126
+ )}
127
128
</tr>
129
)
0 commit comments