mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix code review from c9s
This commit is contained in:
parent
3c8f6bdd96
commit
602eb5d5eb
|
@ -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>
|
||||
</>
|
||||
)
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user