diff --git a/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js b/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js index 3be0d059..dc34884e 100644 --- a/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js +++ b/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/index.js @@ -98,7 +98,7 @@ class DeviceMenu extends Component { } 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 { devices={devices} selectedDevice={selectedDevice} onSelectDevice={onSelectDevice} - forgetDevice={() => this.props.forgetDevice(selectedDevice)} + forgetDevice={forgetDevice} /> {isWebUSB(transport) && (