diff --git a/client/src/components/App.js b/client/src/components/App.js
index 5537209..5729a4b 100644
--- a/client/src/components/App.js
+++ b/client/src/components/App.js
@@ -9,17 +9,20 @@ import './App.css';
const LoadableTodosView = Loadable({
loader: () => import('./todolist/TodosView'),
- loading: () => 'loading',
+ loading: () => loading,
+ delay: 200,
});
const LoadableLoginForm = Loadable({
loader: () => import('./user/LoginForm'),
- loading: () => 'loading',
+ loading: () => loading,
+ delay: 200,
});
const LoadableSignupForm = Loadable({
loader: () => import('./user/SignupForm'),
- loading: () => 'loading',
+ loading: () => loading,
+ delay: 200,
});
export default class App extends React.PureComponent {