aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/fill_order.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-09-05 03:09:24 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-09-05 03:09:24 +0800
commit46b168e10f3363096789d88a77b3578f2934ca70 (patch)
treec2b3641590cd6e74f4c6c6490ea2b13e998f73fc /packages/website/ts/components/fill_order.tsx
parenta173c5fc38f32a5c965cbd4cc7268294580a35f1 (diff)
downloaddexon-0x-contracts-46b168e10f3363096789d88a77b3578f2934ca70.tar.gz
dexon-0x-contracts-46b168e10f3363096789d88a77b3578f2934ca70.tar.zst
dexon-0x-contracts-46b168e10f3363096789d88a77b3578f2934ca70.zip
Run linter
Diffstat (limited to 'packages/website/ts/components/fill_order.tsx')
-rw-r--r--packages/website/ts/components/fill_order.tsx3
1 files changed, 0 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,