Browse Source
Use app status instead of device status to enable next step in import
master
meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
1 changed files with
2 additions and
2 deletions
-
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 }) |
|
|
|
} |
|
|
|
}} |
|
|
|