Edit account modal shows and allows editing of name from props, not just placeholder.
This commit is contained in:
parent
c9c940bfc1
commit
49aa6e73ea
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue