From 0b3b485d1c1dfd68da6d1733706193b25a4141fe Mon Sep 17 00:00:00 2001 From: Vit Stanislav Date: Mon, 31 Jul 2017 17:47:40 +0200 Subject: [PATCH] Cover the case when loading is undefined --- src/components/loadingBar/loadingBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/loadingBar/loadingBar.js b/src/components/loadingBar/loadingBar.js index 9c4110ce9..99827c14d 100644 --- a/src/components/loadingBar/loadingBar.js +++ b/src/components/loadingBar/loadingBar.js @@ -4,7 +4,7 @@ import styles from './loadingBar.css'; const LoadingBar = props => (
- {props.loading.length ? + {props.loading && props.loading.length ? : null }