aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/components/modals/edit-account-name-modal.js5
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,
}
}