aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2018-07-13 02:01:14 +0800
committerGitHub <noreply@github.com>2018-07-13 02:01:14 +0800
commit9b387b8ec3c543b5c96d1887550797a2bb90fe94 (patch)
treec40acf109c468ce2a9a9aee2a377d52fb0ec9ed6 /packages/website/ts/index.tsx
parenta45a29432e722b71fcfc63a8545fa43ffc29b92d (diff)
parent09f5609618709da0ba10520c6ab6a3e2acac438b (diff)
downloaddexon-sol-tools-9b387b8ec3c543b5c96d1887550797a2bb90fe94.tar
dexon-sol-tools-9b387b8ec3c543b5c96d1887550797a2bb90fe94.tar.gz
dexon-sol-tools-9b387b8ec3c543b5c96d1887550797a2bb90fe94.tar.bz2
dexon-sol-tools-9b387b8ec3c543b5c96d1887550797a2bb90fe94.tar.lz
dexon-sol-tools-9b387b8ec3c543b5c96d1887550797a2bb90fe94.tar.xz
dexon-sol-tools-9b387b8ec3c543b5c96d1887550797a2bb90fe94.tar.zst
dexon-sol-tools-9b387b8ec3c543b5c96d1887550797a2bb90fe94.zip
Merge pull request #865 from 0xProject/refactor/website/remove-legacy-portal
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'),
);