Arrow function to prevent error in Sign Message (#502)

This commit is contained in:
William O'Beirne 2017-11-30 13:58:28 -08:00 committed by Daniel Ternyak
parent 818ad9fef5
commit c88ff3ba69
1 changed files with 2 additions and 2 deletions

View File

@ -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 />;