fix div nested in p warning

This commit is contained in:
Barry Gitarts 2019-08-22 11:43:16 -04:00 committed by Barry G
parent 3ba02674d1
commit 12bbc52626
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class PersistentDrawerLeft extends React.Component {
{!isHome && <Typography className={classes.menuText} variant="h6" noWrap>
Liquid Funding
</Typography>}
<Typography className={classNames(classes.connect, {[classes.connected]: !!account})} onClick={!account ? enableEthereum : console.log}>
<Typography component={'span'} className={classNames(classes.connect, {[classes.connected]: !!account})} onClick={!account ? enableEthereum : console.log}>
{!!account && <div className={classes.connectedText}>
<div className={classes.accountText}>{formatAccount(account)}</div>
<div>Connected</div>