diff --git a/src/components/ChallengesComponent/ChallengeList/index.js b/src/components/ChallengesComponent/ChallengeList/index.js index d456157b..740010cd 100644 --- a/src/components/ChallengesComponent/ChallengeList/index.js +++ b/src/components/ChallengesComponent/ChallengeList/index.js @@ -813,7 +813,9 @@ class ChallengeList extends Component { } } -ChallengeList.defaultProps = {} +ChallengeList.defaultProps = { + isLoading: false +} ChallengeList.propTypes = { challenges: PropTypes.arrayOf(PropTypes.object), diff --git a/src/containers/Challenges/index.js b/src/containers/Challenges/index.js index 206637fd..58f0fbb2 100644 --- a/src/containers/Challenges/index.js +++ b/src/containers/Challenges/index.js @@ -233,6 +233,10 @@ class Challenges extends Component { } } +Challenges.defaultProps = { + isLoading: false +} + Challenges.propTypes = { projects: PropTypes.arrayOf(PropTypes.shape()), menu: PropTypes.string,