diff options
Edit account modal shows and allows editing of name from props, not just placeholder.
Diffstat (limited to 'ui/app/components')
-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, } } |