From 91a5bcf380e050605b9f7d32ea42b105b0677f20 Mon Sep 17 00:00:00 2001 From: Thomas Schmidt Date: Mon, 5 Feb 2018 16:43:50 -0800 Subject: Converted BigNumber to number for GA logging --- packages/website/ts/components/generate_order/generate_order_form.tsx | 2 +- packages/website/ts/components/inputs/allowance_toggle.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'packages') diff --git a/packages/website/ts/components/generate_order/generate_order_form.tsx b/packages/website/ts/components/generate_order/generate_order_form.tsx index c07e6173a..2a62d4b9e 100644 --- a/packages/website/ts/components/generate_order/generate_order_form.tsx +++ b/packages/website/ts/components/generate_order/generate_order_form.tsx @@ -266,7 +266,7 @@ export class GenerateOrderForm extends React.Component { ReactGA.event({ category: 'Portal', action: 'Set Allowance Failure', label: this.props.token.symbol, - value: newAllowanceAmountInBaseUnits, + value: newAllowanceAmountInBaseUnits.toNumber(), }); }); await this.props.refetchTokenStateAsync(); -- cgit v1.2.3