diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-04 22:47:43 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-04 22:47:43 +0800 |
commit | c613b6741d7eff069c93ef1a800b67ddfb618c51 (patch) | |
tree | b5ec60c76250be6fb43b22aae028454a0c89fc4e /packages/website/ts/lazy_component.tsx | |
parent | f7917cfa659452981df8233248283ca760d870a1 (diff) | |
download | dexon-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.tsx | 2 |
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) => { |