diff options
author | Dan <danjm.com@gmail.com> | 2017-10-05 07:31:12 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-09 08:45:59 +0800 |
commit | 49aa6e73eadc5b343353c4312afc1e3b40dc18df (patch) | |
tree | e03dc437fc944bf9493d1cba8181ae6cf39f4ab8 /ui/app | |
parent | c9c940bfc13ddbf0dd021a1f638c050369e13017 (diff) | |
download | tangerine-wallet-browser-49aa6e73eadc5b343353c4312afc1e3b40dc18df.tar tangerine-wallet-browser-49aa6e73eadc5b343353c4312afc1e3b40dc18df.tar.gz tangerine-wallet-browser-49aa6e73eadc5b343353c4312afc1e3b40dc18df.tar.bz2 tangerine-wallet-browser-49aa6e73eadc5b343353c4312afc1e3b40dc18df.tar.lz tangerine-wallet-browser-49aa6e73eadc5b343353c4312afc1e3b40dc18df.tar.xz tangerine-wallet-browser-49aa6e73eadc5b343353c4312afc1e3b40dc18df.tar.zst tangerine-wallet-browser-49aa6e73eadc5b343353c4312afc1e3b40dc18df.zip |
Edit account modal shows and allows editing of name from props, not just placeholder.
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/modals/edit-account-name-modal.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/components/modals/edit-account-name-modal.js b/ui/app/components/modals/edit-account-name-modal.js index 5c25ac245..e2361140d 100644 --- a/ui/app/components/modals/edit-account-name-modal.js +++ b/ui/app/components/modals/edit-account-name-modal.js @@ -24,10 +24,11 @@ function mapDispatchToProps (dispatch) { } inherits(EditAccountNameModal, Component) -function EditAccountNameModal () { +function EditAccountNameModal (props) { Component.call(this) + this.state = { - inputText: '', + inputText: props.identity.name, } } |