Forget correct device

pull/70/head
Vasek Mlejnsky 6 years ago
parent 1bc6fa9412
commit d42c1df966

@ -98,7 +98,7 @@ class DeviceMenu extends Component<Props> {
}
render() {
const { devices, onSelectDevice } = this.props;
const { devices, onSelectDevice, forgetDevice } = this.props;
const { transport } = this.props.connect;
const { selectedDevice } = this.props.wallet;
@ -110,7 +110,7 @@ class DeviceMenu extends Component<Props> {
devices={devices}
selectedDevice={selectedDevice}
onSelectDevice={onSelectDevice}
forgetDevice={() => this.props.forgetDevice(selectedDevice)}
forgetDevice={forgetDevice}
/>
<ButtonWrapper>
{isWebUSB(transport) && (

Loading…
Cancel
Save