aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/lazy_component.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-04 22:47:43 +0800
committerFabio Berger <me@fabioberger.com>2018-10-04 22:47:43 +0800
commitc613b6741d7eff069c93ef1a800b67ddfb618c51 (patch)
treeb5ec60c76250be6fb43b22aae028454a0c89fc4e /packages/website/ts/lazy_component.tsx
parentf7917cfa659452981df8233248283ca760d870a1 (diff)
downloaddexon-sol-tools-c613b6741d7eff069c93ef1a800b67ddfb618c51.tar.gz
dexon-sol-tools-c613b6741d7eff069c93ef1a800b67ddfb618c51.tar.zst
dexon-sol-tools-c613b6741d7eff069c93ef1a800b67ddfb618c51.zip
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) => {