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:
parent
393a0c4c56
commit
416886bd95
@ -90,8 +90,8 @@ export default class RememberDevice extends Component<Props, State> {
|
|||||||
<div className="remember">
|
<div className="remember">
|
||||||
<h3>Forget {label}?</h3>
|
<h3>Forget {label}?</h3>
|
||||||
<p>Would you like TREZOR Wallet to forget your { devicePlural }, so that it is still visible even while disconnected?</p>
|
<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 onClick={ event => this.forget() }><span>Forget <Loader size="28" label={ this.state.countdown.toString() } /></span></button>
|
||||||
<button className="white" onClick={ event => onRememberDevice(device) }><span>Remember <Loader size="28" label={ this.state.countdown.toString() } /></span></button>
|
<button className="white" onClick={ event => onRememberDevice(device) }>Remember</button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -164,7 +164,7 @@
|
|||||||
p {
|
p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: @color_text_secondary;
|
color: @color_white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user