mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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)
|
inherits(EditAccountNameModal, Component)
|
||||||
function EditAccountNameModal () {
|
function EditAccountNameModal (props) {
|
||||||
Component.call(this)
|
Component.call(this)
|
||||||
|
|
||||||
this.state = {
|
this.state = {
|
||||||
inputText: '',
|
inputText: props.identity.name,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user