diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-17 23:14:25 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-17 23:14:25 +0800 |
commit | b4375d6f64fc0651c7ba347fcfe36e171fa261fc (patch) | |
tree | 1862b4a5ddbcb0c2a4870a9e86c9f6fc47e74bfe /packages/website/ts/components/inputs | |
parent | 9f47c72d31412d30471ab05dbb22780dd2f29036 (diff) | |
download | dexon-sol-tools-b4375d6f64fc0651c7ba347fcfe36e171fa261fc.tar dexon-sol-tools-b4375d6f64fc0651c7ba347fcfe36e171fa261fc.tar.gz dexon-sol-tools-b4375d6f64fc0651c7ba347fcfe36e171fa261fc.tar.bz2 dexon-sol-tools-b4375d6f64fc0651c7ba347fcfe36e171fa261fc.tar.lz dexon-sol-tools-b4375d6f64fc0651c7ba347fcfe36e171fa261fc.tar.xz 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.tsx | 2 |
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; } |