diff --git a/src/components/modals/AddAccounts/steps/03-step-import.js b/src/components/modals/AddAccounts/steps/03-step-import.js index ac05fbb1..8abcb828 100644 --- a/src/components/modals/AddAccounts/steps/03-step-import.js +++ b/src/components/modals/AddAccounts/steps/03-step-import.js @@ -17,7 +17,7 @@ import type { StepProps } from '../index' class StepImport extends PureComponent { componentDidMount() { - this.startScanAccountsDevice() + this.props.setState({ scanStatus: 'scanning' }) } componentDidUpdate(prevProps: StepProps) { @@ -72,8 +72,6 @@ class StepImport extends PureComponent { // TODO: use the real device const devicePath = currentDevice.path - setState({ scanStatus: 'scanning' }) - this.scanSubscription = bridge.scanAccountsOnDevice(currency, devicePath, { next: account => { const { scannedAccounts, checkedAccountsIds, existingAccounts } = this.props