mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Second layer of 20 character check modified.
This commit is contained in:
parent
661d9bffb3
commit
1cd17af2ad
@ -45,7 +45,7 @@ EditableLabel.prototype.saveIfEnter = function (event) {
|
||||
EditableLabel.prototype.saveText = function () {
|
||||
var container = findDOMNode(this)
|
||||
var text = container.querySelector('.editable-label input').value
|
||||
var truncatedText = text.substring(0, 30)
|
||||
var truncatedText = text.substring(0, 20)
|
||||
this.props.saveText(truncatedText)
|
||||
this.setState({ isEditingLabel: false, textLabel: truncatedText })
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user