Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Cover the case when loading is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Jul 31, 2017
1 parent 7b5f081 commit 0b3b485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/loadingBar/loadingBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styles from './loadingBar.css';

const LoadingBar = props => (
<div className={styles.fixedAtTop}>
{props.loading.length ?
{props.loading && props.loading.length ?
<ProgressBar type="linear" mode="indeterminate" /> :
null
}
Expand Down

0 comments on commit 0b3b485

Please sign in to comment.