Skip to content

Commit

Permalink
just checking course is number or string
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince0906 committed Jun 22, 2024
1 parent c6a422f commit 6afbed3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ ArticleList.propTypes = {
wikis: PropTypes.array,
newnessFilterEnabled: PropTypes.bool,
trackedStatusFilterEnabled: PropTypes.bool,
course_id: PropTypes.number,
course_id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
limit: PropTypes.number,
limitReached: PropTypes.bool,
filterArticles: PropTypes.func,
Expand Down

0 comments on commit 6afbed3

Please sign in to comment.