From 464a26e2980cdb249591d3e065a080af05133b95 Mon Sep 17 00:00:00 2001 From: Haishan Date: Mon, 29 Oct 2018 23:42:15 +0800 Subject: chore: upgrade and clean up deps --- src/components/Loadable.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/components/Loadable.js (limited to 'src/components/Loadable.js') 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 }) =>
loading
; - -const Loadable = opts => - L({ - loading: Loading, - delay: 200, - ...opts - }); - -export default Loadable; -- cgit v1.3.1