diff options
| author | Haishan <[email protected]> | 2018-10-29 23:42:15 +0800 |
|---|---|---|
| committer | haishanh <[email protected]> | 2018-10-30 16:01:33 +0800 |
| commit | 464a26e2980cdb249591d3e065a080af05133b95 (patch) | |
| tree | 54dfd00a609632ddf98f3eb62e72175071375a85 /src/components/Loadable.js | |
| parent | 00090fc51ca1ea0968f4a849d7c6ecaab0422b99 (diff) | |
chore: upgrade and clean up deps
Diffstat (limited to 'src/components/Loadable.js')
| -rw-r--r-- | src/components/Loadable.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/components/Loadable.js b/src/components/Loadable.js deleted file mode 100644 index 65843a1..0000000 --- a/src/components/Loadable.js +++ /dev/null @@ -1,15 +0,0 @@ -import L from 'react-loadable'; - -import Loading from './Loading'; - -// error will passed if the component failed to load -// const Loading = ({ error }) => <div>loading</div>; - -const Loadable = opts => - L({ - loading: Loading, - delay: 200, - ...opts - }); - -export default Loadable; |
