Enable restrict-plus-operands and fix issues detected

This commit is contained in:
Leonid Logvinov
2018-01-17 16:14:25 +01:00
parent 9f47c72d31
commit b4375d6f64
5 changed files with 5 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ export class AllowanceToggle extends React.Component<AllowanceToggleProps, Allow
this.setState({
isSpinnerVisible: false,
});
const errMsg = '' + err;
const errMsg = `${err}`;
if (_.includes(errMsg, 'User denied transaction')) {
return;
}