Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1064 from LiskHQ/1031-network-login-after-id-crea…
Browse files Browse the repository at this point in the history
…tion

Keep selected network option when creating new ID - Closes #1031
  • Loading branch information
gina contrino authored May 9, 2018
2 parents 380ff33 + 682853a commit 0dd5219
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/login/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ class Login extends React.Component {
[name]: value,
...validator(value, error),
});

if (name === 'network' || name === 'address') {
localStorage.setItem(name, value);
}
}

devPreFill() {
Expand Down

0 comments on commit 0dd5219

Please sign in to comment.