aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/lazy_component.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-05 01:30:54 +0800
committerGitHub <noreply@github.com>2018-10-05 01:30:54 +0800
commit2da7626b5356f7b0ec809719f1b9da14b2969a07 (patch)
tree4359f2994d2b3d0ec3f82098f9415fd010ea9a26 /packages/website/ts/lazy_component.tsx
parentf7917cfa659452981df8233248283ca760d870a1 (diff)
parent98db4b154343127bdecbbb1e72f8ef1bb49b494e (diff)
downloaddexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.tar
dexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.tar.gz
dexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.tar.bz2
dexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.tar.lz
dexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.tar.xz
dexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.tar.zst
dexon-sol-tools-2da7626b5356f7b0ec809719f1b9da14b2969a07.zip
Merge pull request #1115 from 0xProject/upgradeWebpack
Upgrade Webpack
Diffstat (limited to 'packages/website/ts/lazy_component.tsx')
-rw-r--r--packages/website/ts/lazy_component.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/lazy_component.tsx b/packages/website/ts/lazy_component.tsx
index dce06ed8d..9d3b9944a 100644
--- a/packages/website/ts/lazy_component.tsx
+++ b/packages/website/ts/lazy_component.tsx
@@ -49,7 +49,7 @@ export class LazyComponent extends React.Component<LazyComponentProps, LazyCompo
* @param componentName name of exported component
* @param lazyImport lambda returning module promise
* we pass a lambda because we only want to require a module if it's used
- * @example `const LazyPortal = createLazyComponent('Portal', () => System.import<any>('ts/containers/portal'));``
+ * @example `const LazyPortal = createLazyComponent('Portal', () => import<any>('ts/containers/portal'));``
*/
export const createLazyComponent = (componentName: string, lazyImport: () => Promise<any>) => {
return (props: any) => {