summaryrefslogtreecommitdiff
path: root/src/components/Loadable.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Loadable.js')
-rw-r--r--src/components/Loadable.js15
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;