diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-05 01:30:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-05 01:30:54 +0800 |
commit | 2da7626b5356f7b0ec809719f1b9da14b2969a07 (patch) | |
tree | 4359f2994d2b3d0ec3f82098f9415fd010ea9a26 /packages/website/ts/lazy_component.tsx | |
parent | f7917cfa659452981df8233248283ca760d870a1 (diff) | |
parent | 98db4b154343127bdecbbb1e72f8ef1bb49b494e (diff) | |
download | dexon-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.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) => { |