Browse Source

fix(wallet): fix address button

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
907650db46
  1. 8
      app/components/Wallet/Wallet.js
  2. 4
      app/components/Wallet/Wallet.scss

8
app/components/Wallet/Wallet.js

@ -30,14 +30,16 @@ class Wallet extends Component {
return ( return (
<div className={styles.wallet}> <div className={styles.wallet}>
{ {
(modalOpen && (
modalOpen &&
<ReceiveModal <ReceiveModal
isOpen={modalOpen} isOpen={modalOpen}
hideActivityModal={() => this.setState({ modalOpen: false })} hideActivityModal={() => this.setState({ modalOpen: false })}
pubkey={info.data.identity_pubkey} pubkey={info.data.identity_pubkey}
address={address} address={address}
newAddress={newAddress} newAddress={newAddress}
/>) />
)
} }
<div className={styles.content}> <div className={styles.content}>
<div className={styles.left}> <div className={styles.left}>
@ -52,7 +54,7 @@ class Wallet extends Component {
</div> </div>
<div className={styles.right}> <div className={styles.right}>
<div className={styles.rightContent}> <div className={styles.rightContent}>
<div onClick={() => this.setState({ modalOpen: true })}> <div className={'buttonPrimary'} onClick={() => this.setState({ modalOpen: true })}>
<FaQrcode /> <FaQrcode />
Address Address
</div> </div>

4
app/components/Wallet/Wallet.scss

@ -58,10 +58,10 @@
height: calc(100% - 50px); height: calc(100% - 50px);
div { div {
font-size: 20px; padding: 7px 20px;
padding: 10px 25px;
background: $main; background: $main;
transition: background 0.25s; transition: background 0.25s;
color: $black;
&:hover { &:hover {
background: darken($main, 10%); background: darken($main, 10%);

Loading…
Cancel
Save