aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-12 06:23:53 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-12 06:42:20 +0800
commit09f5609618709da0ba10520c6ab6a3e2acac438b (patch)
tree8cb6d251fcba2c244bf8a4e309f0432d45285cc3 /packages/website/ts/index.tsx
parentb82fdd59e70e92ef139f5eeed8ed383a89866c7d (diff)
downloaddexon-sol-tools-09f5609618709da0ba10520c6ab6a3e2acac438b.tar
dexon-sol-tools-09f5609618709da0ba10520c6ab6a3e2acac438b.tar.gz
dexon-sol-tools-09f5609618709da0ba10520c6ab6a3e2acac438b.tar.bz2
dexon-sol-tools-09f5609618709da0ba10520c6ab6a3e2acac438b.tar.lz
dexon-sol-tools-09f5609618709da0ba10520c6ab6a3e2acac438b.tar.xz
dexon-sol-tools-09f5609618709da0ba10520c6ab6a3e2acac438b.tar.zst
dexon-sol-tools-09f5609618709da0ba10520c6ab6a3e2acac438b.zip
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 c7ccfdf1f..7ceec8c2c 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -35,14 +35,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'),
);