1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +00:00

forget countdown inside Forget button

This commit is contained in:
Szymon Lesisz 2018-05-22 11:47:28 +02:00
parent 393a0c4c56
commit 416886bd95
2 changed files with 3 additions and 3 deletions

View File

@ -90,8 +90,8 @@ export default class RememberDevice extends Component<Props, State> {
<div className="remember">
<h3>Forget {label}?</h3>
<p>Would you like TREZOR Wallet to forget your { devicePlural }, so that it is still visible even while disconnected?</p>
<button onClick={ event => this.forget() }>Forget</button>
<button className="white" onClick={ event => onRememberDevice(device) }><span>Remember <Loader size="28" label={ this.state.countdown.toString() } /></span></button>
<button onClick={ event => this.forget() }><span>Forget <Loader size="28" label={ this.state.countdown.toString() } /></span></button>
<button className="white" onClick={ event => onRememberDevice(device) }>Remember</button>
</div>
);
}

View File

@ -164,7 +164,7 @@
p {
margin: 0;
padding: 0;
color: @color_text_secondary;
color: @color_white;
}
}
}