mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
parent
d35a1d56e0
commit
3a75a00668
@ -56,20 +56,9 @@ const AccountPopover = () => (
|
||||
<User.Consumer>
|
||||
{states =>
|
||||
states.account ? (
|
||||
<>
|
||||
{/* <Blockies
|
||||
size={10}
|
||||
scale={2}
|
||||
className={styles.avatar}
|
||||
seed={activeAccount.getId()}
|
||||
/> */}
|
||||
<span
|
||||
className={styles.address}
|
||||
title={states.account}
|
||||
>
|
||||
{states.account}
|
||||
</span>
|
||||
</>
|
||||
<span className={styles.address} title={states.account}>
|
||||
{states.account}
|
||||
</span>
|
||||
) : (
|
||||
'No account selected'
|
||||
)
|
||||
@ -80,9 +69,13 @@ const AccountPopover = () => (
|
||||
Network: <strong>{''}</strong>
|
||||
</div>
|
||||
<div className={styles.popoverInfoline}>
|
||||
<Button link onClick={''}>
|
||||
Make it rain
|
||||
</Button>
|
||||
<User.Consumer>
|
||||
{states => (
|
||||
<Button link onClick={states.requestFromFaucet}>
|
||||
Make it rain
|
||||
</Button>
|
||||
)}
|
||||
</User.Consumer>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user