diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-05 06:03:14 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-05 06:03:14 +0800 |
commit | 1e3ab76e9a6e4f50b105c62f7930408fae1cc661 (patch) | |
tree | 96df72933dd182f32b625fdb8099d40d5eba68e2 /packages/website/ts/lazy_component.tsx | |
parent | ba2ba628e815c996582c6ead81f657a14a00abd0 (diff) | |
parent | ab28e6af3507d7eea163e37730e68a101b525237 (diff) | |
download | dexon-sol-tools-1e3ab76e9a6e4f50b105c62f7930408fae1cc661.tar dexon-sol-tools-1e3ab76e9a6e4f50b105c62f7930408fae1cc661.tar.gz dexon-sol-tools-1e3ab76e9a6e4f50b105c62f7930408fae1cc661.tar.bz2 dexon-sol-tools-1e3ab76e9a6e4f50b105c62f7930408fae1cc661.tar.lz dexon-sol-tools-1e3ab76e9a6e4f50b105c62f7930408fae1cc661.tar.xz dexon-sol-tools-1e3ab76e9a6e4f50b105c62f7930408fae1cc661.tar.zst dexon-sol-tools-1e3ab76e9a6e4f50b105c62f7930408fae1cc661.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/redux-styles-container
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) => { |