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

Commit

Permalink
Keep selected network option when creating new ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Gina Contrino committed May 8, 2018
1 parent 380ff33 commit 682853a
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 682853a

Please sign in to comment.