aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-28 02:49:06 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-28 02:49:06 +0800
commita0d7b1efa59cf7322a97ef75268c372068592976 (patch)
treee4e37dc6dab3cf05d914565ce4c90aa2c2a4c076
parent1a06e6b305a96076afc86c8b5073a907d5670bfe (diff)
downloaddexon-sol-tools-a0d7b1efa59cf7322a97ef75268c372068592976.tar.gz
dexon-sol-tools-a0d7b1efa59cf7322a97ef75268c372068592976.tar.zst
dexon-sol-tools-a0d7b1efa59cf7322a97ef75268c372068592976.zip
Remove unused variable
-rw-r--r--packages/website/ts/components/inputs/allowance_state_toggle.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/website/ts/components/inputs/allowance_state_toggle.tsx b/packages/website/ts/components/inputs/allowance_state_toggle.tsx
index 5de041f6d..39d2e3030 100644
--- a/packages/website/ts/components/inputs/allowance_state_toggle.tsx
+++ b/packages/website/ts/components/inputs/allowance_state_toggle.tsx
@@ -93,7 +93,6 @@ export class AllowanceStateToggle extends React.Component<AllowanceStateTogglePr
const symbol = this.props.token.symbol;
switch (this.state.allowanceState) {
case AllowanceState.Loading:
- const isLockingToken = this.props.tokenState.allowance.gt(0);
return (
<Text noWrap={true} fontColor={colors.white}>
{this.state.loadingMessage || 'Loading...'}