mirror of
https://github.com/trezor/trezor-wallet
synced 2025-05-29 04:08:46 +00:00
Forget correct device
This commit is contained in:
parent
1bc6fa9412
commit
d42c1df966
@ -98,7 +98,7 @@ class DeviceMenu extends Component<Props> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { devices, onSelectDevice } = this.props;
|
const { devices, onSelectDevice, forgetDevice } = this.props;
|
||||||
const { transport } = this.props.connect;
|
const { transport } = this.props.connect;
|
||||||
const { selectedDevice } = this.props.wallet;
|
const { selectedDevice } = this.props.wallet;
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ class DeviceMenu extends Component<Props> {
|
|||||||
devices={devices}
|
devices={devices}
|
||||||
selectedDevice={selectedDevice}
|
selectedDevice={selectedDevice}
|
||||||
onSelectDevice={onSelectDevice}
|
onSelectDevice={onSelectDevice}
|
||||||
forgetDevice={() => this.props.forgetDevice(selectedDevice)}
|
forgetDevice={forgetDevice}
|
||||||
/>
|
/>
|
||||||
<ButtonWrapper>
|
<ButtonWrapper>
|
||||||
{isWebUSB(transport) && (
|
{isWebUSB(transport) && (
|
||||||
|
Loading…
Reference in New Issue
Block a user