Browse Source
Merge pull request #796 from meriadec/fix-receive-modal-initial-state
Receive modal should go to step device is account is given
master
Gaëtan Renaudeau
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/components/modals/Receive/index.js
|
@ -114,7 +114,7 @@ class ReceiveModal extends PureComponent<Props, State> { |
|
|
|
|
|
|
|
|
if (!account) { |
|
|
if (!account) { |
|
|
if (data && data.account) { |
|
|
if (data && data.account) { |
|
|
this.setState({ account: data.account }) |
|
|
this.setState({ account: data.account, stepId: 'device' }) |
|
|
} else { |
|
|
} else { |
|
|
this.setState({ account: accounts[0] }) |
|
|
this.setState({ account: accounts[0] }) |
|
|
} |
|
|
} |
|
|