diff --git a/src/views/Wallet/views/Account/SignVerify/index.js b/src/views/Wallet/views/Account/SignVerify/index.js index a2c8d7f1..87c482fa 100644 --- a/src/views/Wallet/views/Account/SignVerify/index.js +++ b/src/views/Wallet/views/Account/SignVerify/index.js @@ -65,10 +65,12 @@ class SignVerify extends Component { }; } + getPath() { + return this.props.selectedAccount.account.addressPath; + } + handleSignInput = (e) => { - console.log('aaa', e.target); this.setState({ sign: { [e.target.name]: e.target.value } }); - console.log(this.state); } handleVerifyInput = (e) => { @@ -96,50 +98,93 @@ class SignVerify extends Component { }); } - getPath() { - const { account } = this.props; - return account.addressPath; - } - render() { const { signVerifyActions } = this.props; return ( - Sign & Verify{this.state.sign.message || 'no message'} + Sign & Verify - + -