diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-04-24 07:41:02 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-04-24 07:49:53 +0800 |
commit | 941342cc2412d5dccfad8fc56fc5e36d3a0e6b1a (patch) | |
tree | 21913a9248a490e4757e94254cbc0712b1631f6e /packages/website | |
parent | cc471dd127b3b2b30ebe32452f9dd03778845e7c (diff) | |
download | dexon-sol-tools-941342cc2412d5dccfad8fc56fc5e36d3a0e6b1a.tar dexon-sol-tools-941342cc2412d5dccfad8fc56fc5e36d3a0e6b1a.tar.gz dexon-sol-tools-941342cc2412d5dccfad8fc56fc5e36d3a0e6b1a.tar.bz2 dexon-sol-tools-941342cc2412d5dccfad8fc56fc5e36d3a0e6b1a.tar.lz dexon-sol-tools-941342cc2412d5dccfad8fc56fc5e36d3a0e6b1a.tar.xz dexon-sol-tools-941342cc2412d5dccfad8fc56fc5e36d3a0e6b1a.tar.zst dexon-sol-tools-941342cc2412d5dccfad8fc56fc5e36d3a0e6b1a.zip |
Fix lazy load component name
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx index 66154e9b8..d99187151 100644 --- a/packages/website/ts/index.tsx +++ b/packages/website/ts/index.tsx @@ -34,8 +34,8 @@ import 'less/all.less'; // cause we only want to import the module when the user navigates to the page. // 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. -const LazyPortal = createLazyComponent('Portal', async () => - System.import<any>(/* webpackChunkName: "portal" */ 'ts/containers/legacy_portal'), +const LazyPortal = createLazyComponent('LegacyPortal', async () => + System.import<any>(/* webpackChunkName: "legacyPortal" */ 'ts/containers/legacy_portal'), ); const LazyZeroExJSDocumentation = createLazyComponent('Documentation', async () => System.import<any>(/* webpackChunkName: "zeroExDocs" */ 'ts/containers/zero_ex_js_documentation'), |