diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-08-30 14:41:09 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-08-31 04:36:44 +0800 |
commit | 660e670d381316f412e706a9d7ced66b6c48c18c (patch) | |
tree | 375ae8edf3aba7f6e04a407cccd88685c369901f /packages/website/ts/components/portal/portal.tsx | |
parent | 052824f4e30c6dce63f3b57591d0a5727c0bd4c2 (diff) | |
download | dexon-0x-contracts-660e670d381316f412e706a9d7ced66b6c48c18c.tar dexon-0x-contracts-660e670d381316f412e706a9d7ced66b6c48c18c.tar.gz dexon-0x-contracts-660e670d381316f412e706a9d7ced66b6c48c18c.tar.bz2 dexon-0x-contracts-660e670d381316f412e706a9d7ced66b6c48c18c.tar.lz dexon-0x-contracts-660e670d381316f412e706a9d7ced66b6c48c18c.tar.xz dexon-0x-contracts-660e670d381316f412e706a9d7ced66b6c48c18c.tar.zst dexon-0x-contracts-660e670d381316f412e706a9d7ced66b6c48c18c.zip |
Update generate and fill order flows
Diffstat (limited to 'packages/website/ts/components/portal/portal.tsx')
-rw-r--r-- | packages/website/ts/components/portal/portal.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx index 047464e03..b8d7ceea9 100644 --- a/packages/website/ts/components/portal/portal.tsx +++ b/packages/website/ts/components/portal/portal.tsx @@ -118,7 +118,7 @@ export class Portal extends React.Component<PortalProps, PortalState> { private readonly _throttledScreenWidthUpdate: () => void; constructor(props: PortalProps) { super(props); - this._sharedOrderIfExists = orderParser.parse(window.location.search); + this._sharedOrderIfExists = orderParser.parseQueryString(window.location.search); this._throttledScreenWidthUpdate = _.throttle(this._updateScreenWidth.bind(this), THROTTLE_TIMEOUT); const didAcceptPortalDisclaimer = localStorage.getItemIfExists(constants.LOCAL_STORAGE_KEY_ACCEPT_DISCLAIMER); const hasAcceptedDisclaimer = |