1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00

Add static defaultProps

This commit is contained in:
Thomas 2019-10-29 17:55:10 -07:00
parent d90b3feab8
commit 9d793015d3

View File

@ -25,6 +25,12 @@ export default class EditContact extends PureComponent {
setAccountLabel: PropTypes.func,
}
static defaultProps = {
name: '',
address: '',
memo: '',
}
state = {
newName: this.props.name,
newAddress: this.props.address,