Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
? '...'
: account === null
? 'None'
: `${account.substring(0, 6)}...${account.substring(account.length - 4)}`}
<span>Balance</span>
<span aria-label="gold" role="img">
💰
</span>
<span>
{ethBalance === undefined
? '...'
: ethBalance === null
? 'Error'
: `Ξ${parseFloat(formatEther(ethBalance)).toPrecision(4)}`}
</span>
<hr style="{{">
<div style="{{">
{Object.keys(connectorsByName).map(name => {
const currentConnector = connectorsByName[name]
const activating = currentConnector === activatingConnector
const connected = currentConnector === connector</div>