diff --git a/src/views/Wallet/views/Account/SignVerify/index.js b/src/views/Wallet/views/Account/SignVerify/index.js index 96c641a7..a3e93fc6 100644 --- a/src/views/Wallet/views/Account/SignVerify/index.js +++ b/src/views/Wallet/views/Account/SignVerify/index.js @@ -76,6 +76,20 @@ class SignVerify extends Component { this.setState({ [event.target.name]: event.target.value }); } + clearSign =() => { + this.setState({ + signMessage: '', + }); + } + + clearVerify = () => { + this.setState({ + verifyAddress: '', + verifyMessage: '', + verifySignature: '', + }); + } + render() { const { signVerifyActions, @@ -120,7 +134,7 @@ class SignVerify extends Component { @@ -163,7 +177,7 @@ class SignVerify extends Component {