Skip to content

Commit

Permalink
Loading table data when sorting / filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgasper committed Dec 24, 2022
1 parent 75c4a63 commit 6388cdc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ChallengesComponent/ChallengeList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,9 @@ class ChallengeList extends Component {
}
}

ChallengeList.defaultProps = {}
ChallengeList.defaultProps = {
isLoading: false
}

ChallengeList.propTypes = {
challenges: PropTypes.arrayOf(PropTypes.object),
Expand Down
4 changes: 4 additions & 0 deletions src/containers/Challenges/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ class Challenges extends Component {
}
}

Challenges.defaultProps = {
isLoading: false
}

Challenges.propTypes = {
projects: PropTypes.arrayOf(PropTypes.shape()),
menu: PropTypes.string,
Expand Down

0 comments on commit 6388cdc

Please sign in to comment.