1
0
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:
Dan 2017-10-04 21:01:12 -02:30 committed by Chi Kei Chan
parent c9c940bfc1
commit 49aa6e73ea

View File

@ -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,
}
}