Arrow function to prevent error in Sign Message (#502)
This commit is contained in:
parent
818ad9fef5
commit
c88ff3ba69
|
@ -85,7 +85,7 @@ export class SignMessage extends Component<Props, State> {
|
|||
this.setState({ signedMessage });
|
||||
};
|
||||
|
||||
private renderSignButton(fullWallet: IFullWallet) {
|
||||
private renderSignButton = (fullWallet: IFullWallet) => {
|
||||
return (
|
||||
<SignButton
|
||||
wallet={fullWallet}
|
||||
|
@ -94,7 +94,7 @@ export class SignMessage extends Component<Props, State> {
|
|||
onSignMessage={this.onSignMessage}
|
||||
/>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
private renderUnlock() {
|
||||
return <WalletDecrypt />;
|
||||
|
|
Loading…
Reference in New Issue