Skip to content

Commit 6388cdc

Browse files
committed
Loading table data when sorting / filtering
1 parent 75c4a63 commit 6388cdc

File tree

2 files changed

+7
-1
lines changed
  • src
    • components/ChallengesComponent/ChallengeList
    • containers/Challenges

2 files changed

+7
-1
lines changed

src/components/ChallengesComponent/ChallengeList/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,9 @@ class ChallengeList extends Component {
813813
}
814814
}
815815

816-
ChallengeList.defaultProps = {}
816+
ChallengeList.defaultProps = {
817+
isLoading: false
818+
}
817819

818820
ChallengeList.propTypes = {
819821
challenges: PropTypes.arrayOf(PropTypes.object),

src/containers/Challenges/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,10 @@ class Challenges extends Component {
233233
}
234234
}
235235

236+
Challenges.defaultProps = {
237+
isLoading: false
238+
}
239+
236240
Challenges.propTypes = {
237241
projects: PropTypes.arrayOf(PropTypes.shape()),
238242
menu: PropTypes.string,

0 commit comments

Comments
 (0)