Add new underscore-privates rule to @0xproject/tslint-config and fix lint errors
This commit is contained in:
committed by
Leonid Logvinov
parent
972e1675f6
commit
cb11aec84d
@@ -27,7 +27,7 @@ interface HashInputState {}
|
||||
|
||||
export class HashInput extends React.Component<HashInputProps, HashInputState> {
|
||||
public render() {
|
||||
const msgHashHex = this.props.blockchainIsLoaded ? this.generateMessageHashHex() : '';
|
||||
const msgHashHex = this.props.blockchainIsLoaded ? this._generateMessageHashHex() : '';
|
||||
return (
|
||||
<div>
|
||||
<FakeTextField label={this.props.label}>
|
||||
@@ -43,7 +43,7 @@ export class HashInput extends React.Component<HashInputProps, HashInputState> {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
private generateMessageHashHex() {
|
||||
private _generateMessageHashHex() {
|
||||
const exchangeContractAddress = this.props.blockchain.getExchangeContractAddressIfExists();
|
||||
const hashData = this.props.hashData;
|
||||
const order: Order = {
|
||||
|
Reference in New Issue
Block a user