fix code review from c9s

This commit is contained in:
Austin 2021-10-27 00:48:50 +08:00
parent 3c8f6bdd96
commit 602eb5d5eb

View File

@ -75,9 +75,9 @@ export default function ConnectWallet() {
}, [open]);
return (
<div>
<>
{account?
(<div>
(<>
<Button
ref={anchorRef}
id="composition-button"
@ -122,10 +122,10 @@ export default function ConnectWallet() {
</Grow>
)}
</Popper>
</div>):(<div>
</>):(<div>
<button onClick={() => activateBrowserWallet()} className={classes.buttons}>Connect Wallet</button>
</div>)}
</div>
</>
)
}