aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/lazy_component.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-05 02:03:01 +0800
committerFabio Berger <me@fabioberger.com>2018-10-05 02:03:01 +0800
commitc9bfb86960d3c57c8cdefb4d044036028bfb47ed (patch)
tree52e6e2185c7a03338930111661b32d75aeea29cb /packages/website/ts/lazy_component.tsx
parentd0b2b4d0aa8b67c6f867f83c9b35b8e49c57b4a1 (diff)
parent3991e66a58f28dbed5e75f74ef4aaaf6bb3a4d3e (diff)
downloaddexon-sol-tools-c9bfb86960d3c57c8cdefb4d044036028bfb47ed.tar
dexon-sol-tools-c9bfb86960d3c57c8cdefb4d044036028bfb47ed.tar.gz
dexon-sol-tools-c9bfb86960d3c57c8cdefb4d044036028bfb47ed.tar.bz2
dexon-sol-tools-c9bfb86960d3c57c8cdefb4d044036028bfb47ed.tar.lz
dexon-sol-tools-c9bfb86960d3c57c8cdefb4d044036028bfb47ed.tar.xz
dexon-sol-tools-c9bfb86960d3c57c8cdefb4d044036028bfb47ed.tar.zst
dexon-sol-tools-c9bfb86960d3c57c8cdefb4d044036028bfb47ed.zip
merge base branch
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) => {