aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-28 11:38:09 +0800
committerFabio Berger <me@fabioberger.com>2017-11-28 11:38:09 +0800
commit0a19ba3014ac68c1c94fcb376bc1ddb5081db757 (patch)
tree0f7a8572c1fb6172b3f0474dd6e6356f569f8760 /packages/website/ts/components
parent88bd0f5328863141564faf2718118594732b66ca (diff)
downloaddexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar
dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar.gz
dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar.bz2
dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar.lz
dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar.xz
dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar.zst
dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.zip
Fix tslint issues
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/fill_order.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/fill_order.tsx b/packages/website/ts/components/fill_order.tsx
index dc965283e..0d652d33f 100644
--- a/packages/website/ts/components/fill_order.tsx
+++ b/packages/website/ts/components/fill_order.tsx
@@ -563,7 +563,7 @@ export class FillOrder extends React.Component<FillOrderProps, FillOrderState> {
await this.props.blockchain.validateFillOrderThrowIfInvalidAsync(
signedOrder, takerFillAmount, this.props.userAddress);
} catch (err) {
- globalErrMsg = this.props.blockchain.toHumanReadableErrorMsg(err.message, parsedOrder.taker.address);
+ globalErrMsg = this.props.blockchain.zeroExErrToHumanReadableErrMsg(err.message, parsedOrder.taker.address);
}
}
if (!_.isEmpty(globalErrMsg)) {
@@ -652,7 +652,7 @@ export class FillOrder extends React.Component<FillOrderProps, FillOrderState> {
await this.props.blockchain.validateCancelOrderThrowIfInvalidAsync(
signedOrder, availableTakerTokenAmount);
} catch (err) {
- globalErrMsg = this.props.blockchain.toHumanReadableErrorMsg(err.message, parsedOrder.taker.address);
+ globalErrMsg = this.props.blockchain.zeroExErrToHumanReadableErrMsg(err.message, parsedOrder.taker.address);
}
if (!_.isEmpty(globalErrMsg)) {
this.setState({