aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/fill_order_json.tsx
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-23 07:18:52 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-24 00:41:35 +0800
commit5913d654bdf77d25b95570b1e656f63cc89ff97a (patch)
tree8cf3fd324cb7cd13e58f67eb3c0491bf5fa6ef18 /packages/website/ts/components/fill_order_json.tsx
parentf3fe9661f65f5ac58d45e965b7be02e9738df1c4 (diff)
downloaddexon-0x-contracts-5913d654bdf77d25b95570b1e656f63cc89ff97a.tar.gz
dexon-0x-contracts-5913d654bdf77d25b95570b1e656f63cc89ff97a.tar.zst
dexon-0x-contracts-5913d654bdf77d25b95570b1e656f63cc89ff97a.zip
Remove 0x.js as a dependency from website
Diffstat (limited to 'packages/website/ts/components/fill_order_json.tsx')
-rw-r--r--packages/website/ts/components/fill_order_json.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/fill_order_json.tsx b/packages/website/ts/components/fill_order_json.tsx
index 97297d5a1..90eedbb18 100644
--- a/packages/website/ts/components/fill_order_json.tsx
+++ b/packages/website/ts/components/fill_order_json.tsx
@@ -1,4 +1,4 @@
-import { ZeroEx } from '0x.js';
+import { generatePseudoRandomSalt } from '@0xproject/order-utils';
import { BigNumber } from '@0xproject/utils';
import * as _ from 'lodash';
import Paper from 'material-ui/Paper';
@@ -38,7 +38,7 @@ export class FillOrderJSON extends React.Component<FillOrderJSONProps, FillOrder
s: '937862111edcba395f8a9e0cc1b2c5e12320...',
v: 27,
};
- const hintSalt = ZeroEx.generatePseudoRandomSalt();
+ const hintSalt = generatePseudoRandomSalt();
const feeRecipient = constants.NULL_ADDRESS;
const hintOrder = utils.generateOrder(
exchangeContract,