diff --git a/src/components/modals/ImportAccounts/steps/02-step-connect-device.js b/src/components/modals/ImportAccounts/steps/02-step-connect-device.js index 89ee79d2..5f79acd6 100644 --- a/src/components/modals/ImportAccounts/steps/02-step-connect-device.js +++ b/src/components/modals/ImportAccounts/steps/02-step-connect-device.js @@ -32,8 +32,8 @@ function StepConnectDevice({ t, currency, currentDevice, setState }: StepProps) t={t} deviceSelected={currentDevice} currency={currency} - onStatusChange={s => { - if (s === 'connected') { + onStatusChange={(deviceStatus, appStatus) => { + if (appStatus === 'success') { setState({ isAppOpened: true }) } }}