aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-13 22:12:49 +0800
committerFabio Berger <me@fabioberger.com>2018-07-13 22:12:49 +0800
commit248632ce763d5d4283803bcdef28e4ef528af728 (patch)
tree52eb7ffa221aa70ca1e7a6a52fce98e435a65879 /packages/website/ts/index.tsx
parent25681754bd3bb963e3348636a4659d6d426ed9e4 (diff)
parent9b387b8ec3c543b5c96d1887550797a2bb90fe94 (diff)
downloaddexon-0x-contracts-248632ce763d5d4283803bcdef28e4ef528af728.tar.gz
dexon-0x-contracts-248632ce763d5d4283803bcdef28e4ef528af728.tar.zst
dexon-0x-contracts-248632ce763d5d4283803bcdef28e4ef528af728.zip
Merge branch 'v2-prototype' into fix/request-timeout-issue
* v2-prototype: Remove legacy portal code
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r--packages/website/ts/index.tsx11
1 files changed, 3 insertions, 8 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index b1f940512..e6b869bf4 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -34,14 +34,9 @@ import 'less/all.less';
// At the same time webpack statically parses for System.import() to determine bundle chunk split points
// so each lazy import needs it's own `System.import()` declaration.
-// TODO: Remove this once we ship V2
-const LazyPortal = utils.shouldShowPortalV2()
- ? createLazyComponent('Portal', async () =>
- System.import<any>(/* webpackChunkName: "portal" */ 'ts/containers/portal'),
- )
- : createLazyComponent('LegacyPortal', async () =>
- System.import<any>(/* webpackChunkName: "legacyPortal" */ 'ts/containers/legacy_portal'),
- );
+const LazyPortal = createLazyComponent('Portal', async () =>
+ System.import<any>(/* webpackChunkName: "portal" */ 'ts/containers/portal'),
+);
const LazyZeroExJSDocumentation = createLazyComponent('Documentation', async () =>
System.import<any>(/* webpackChunkName: "zeroExDocs" */ 'ts/containers/zero_ex_js_documentation'),
);