We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d2ded2 commit f424167Copy full SHA for f424167
hosting/oisy-signer-demo/frontend/src/App.jsx
@@ -208,7 +208,7 @@ export default function App() {
208
</div>
209
<div className="text-sm">
210
Balance:{' '}
211
- {testIcpBalance && testIcpMetadata
+ {testIcpBalance != null && testIcpMetadata
212
? toMainUnit(testIcpBalance, testIcpMetadata.decimals)
213
: '...'}
214
@@ -236,7 +236,7 @@ export default function App() {
236
237
238
239
- {tIcrc1Balance && tIcrc1Metadata
+ {tIcrc1Balance != null && tIcrc1Metadata
240
? toMainUnit(tIcrc1Balance, tIcrc1Metadata.decimals)
241
242
0 commit comments