aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/components/fill_order.tsx3
-rw-r--r--packages/website/ts/utils/utils.ts1
2 files changed, 1 insertions, 3 deletions
diff --git a/packages/website/ts/components/fill_order.tsx b/packages/website/ts/components/fill_order.tsx
index 4c7fa0356..3c3155349 100644
--- a/packages/website/ts/components/fill_order.tsx
+++ b/packages/website/ts/components/fill_order.tsx
@@ -600,9 +600,6 @@ export class FillOrder extends React.Component<FillOrderProps, FillOrderState> {
let globalErrMsg = '';
const signedOrder = parsedOrder.signedOrder;
const takerTokenAmount = signedOrder.takerAssetAmount;
- const orderHash = orderHashUtils.getOrderHashHex(signedOrder);
- const unavailableTakerAmount = await this.props.blockchain.getUnavailableTakerAmountAsync(orderHash);
- const availableTakerTokenAmount = takerTokenAmount.minus(unavailableTakerAmount);
if (!_.isEmpty(globalErrMsg)) {
this.setState({
isCancelling: false,
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index d78dfb1fc..b45e37aeb 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -10,6 +10,7 @@ import * as _ from 'lodash';
import * as moment from 'moment';
import * as numeral from 'numeral';
+import { Provider } from 'ethereum-types';
import {
AccountState,
BlockchainCallErrs,