fix: fix conditional rendering for blockchain network (#583)

This commit is contained in:
Cafe137
2022-11-14 11:16:14 +01:00
committed by GitHub
parent 9a8520eb6f
commit 1ce4a47495
+1 -1
View File
@@ -158,7 +158,7 @@ export default function Status(): ReactElement {
} }
/> />
<ExpandableListItem label="Mode" value={nodeInfo?.beeMode} /> <ExpandableListItem label="Mode" value={nodeInfo?.beeMode} />
{chainId && <ExpandableListItem label="Blockchain network" value={chainIdToName(chainId)} />} {chainId !== null && <ExpandableListItem label="Blockchain network" value={chainIdToName(chainId)} />}
</div> </div>
) )
} }