diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-13 22:12:49 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-13 22:12:49 +0800 |
commit | 248632ce763d5d4283803bcdef28e4ef528af728 (patch) | |
tree | 52eb7ffa221aa70ca1e7a6a52fce98e435a65879 /packages/website/ts/index.tsx | |
parent | 25681754bd3bb963e3348636a4659d6d426ed9e4 (diff) | |
parent | 9b387b8ec3c543b5c96d1887550797a2bb90fe94 (diff) | |
download | dexon-sol-tools-248632ce763d5d4283803bcdef28e4ef528af728.tar dexon-sol-tools-248632ce763d5d4283803bcdef28e4ef528af728.tar.gz dexon-sol-tools-248632ce763d5d4283803bcdef28e4ef528af728.tar.bz2 dexon-sol-tools-248632ce763d5d4283803bcdef28e4ef528af728.tar.lz dexon-sol-tools-248632ce763d5d4283803bcdef28e4ef528af728.tar.xz dexon-sol-tools-248632ce763d5d4283803bcdef28e4ef528af728.tar.zst dexon-sol-tools-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.tsx | 11 |
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'), ); |