aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/inputs
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-17 23:14:25 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-17 23:14:25 +0800
commitb4375d6f64fc0651c7ba347fcfe36e171fa261fc (patch)
tree1862b4a5ddbcb0c2a4870a9e86c9f6fc47e74bfe /packages/website/ts/components/inputs
parent9f47c72d31412d30471ab05dbb22780dd2f29036 (diff)
downloaddexon-sol-tools-b4375d6f64fc0651c7ba347fcfe36e171fa261fc.tar.gz
dexon-sol-tools-b4375d6f64fc0651c7ba347fcfe36e171fa261fc.tar.zst
dexon-sol-tools-b4375d6f64fc0651c7ba347fcfe36e171fa261fc.zip
Enable restrict-plus-operands and fix issues detected
Diffstat (limited to 'packages/website/ts/components/inputs')
-rw-r--r--packages/website/ts/components/inputs/allowance_toggle.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/inputs/allowance_toggle.tsx b/packages/website/ts/components/inputs/allowance_toggle.tsx
index 1be441e17..da46db4f4 100644
--- a/packages/website/ts/components/inputs/allowance_toggle.tsx
+++ b/packages/website/ts/components/inputs/allowance_toggle.tsx
@@ -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;
}