diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-20 20:51:23 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-20 20:51:23 +0800 |
commit | b67677f47695b2e24887d0e23ca74432f063bd4f (patch) | |
tree | b2d2b258a0a83b3996e8f8a1ce9acdf8aaf9d04c | |
parent | b4cf69b02113a51af82b596f3931cb081edde7f4 (diff) | |
download | dexon-0x-contracts-b67677f47695b2e24887d0e23ca74432f063bd4f.tar dexon-0x-contracts-b67677f47695b2e24887d0e23ca74432f063bd4f.tar.gz dexon-0x-contracts-b67677f47695b2e24887d0e23ca74432f063bd4f.tar.bz2 dexon-0x-contracts-b67677f47695b2e24887d0e23ca74432f063bd4f.tar.lz dexon-0x-contracts-b67677f47695b2e24887d0e23ca74432f063bd4f.tar.xz dexon-0x-contracts-b67677f47695b2e24887d0e23ca74432f063bd4f.tar.zst dexon-0x-contracts-b67677f47695b2e24887d0e23ca74432f063bd4f.zip |
Fix website given that it still depends on an old version of @0xproject/Types
-rw-r--r-- | packages/website/ts/utils/utils.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index 32b07473c..39bbd404c 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -247,9 +247,12 @@ export const utils = { } = { [ExchangeContractErrs.OrderFillExpired]: 'This order has expired', [ExchangeContractErrs.OrderCancelExpired]: 'This order has expired', - [ExchangeContractErrs.OrderCancelled]: 'This order has been cancelled', + [ExchangeContractErrs.OrderCancelAmountZero]: "Order cancel amount can't be 0", + [ExchangeContractErrs.OrderAlreadyCancelledOrFilled]: + 'This order has already been completely filled or cancelled', [ExchangeContractErrs.OrderFillAmountZero]: "Order fill amount can't be 0", - [ExchangeContractErrs.OrderRemainingFillAmountZero]: 'This order has already been completely filled', + [ExchangeContractErrs.OrderRemainingFillAmountZero]: + 'This order has already been completely filled or cancelled', [ExchangeContractErrs.OrderFillRoundingError]: 'Rounding error will occur when filling this order. Please try filling a different amount.', [ExchangeContractErrs.InsufficientTakerBalance]: |