Browse Source
Merge pull request #405 from meriadec/master
Use app status instead of device status to enable next step in import
master
Meriadec Pillet
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 }) |
|
|
|
} |
|
|
|
}} |
|
|
|