Skip to content

Commit a8d7e89

Browse files
committed
Pagination issues
1 parent 11b1900 commit a8d7e89

File tree

1 file changed

+1
-2
lines changed
  • src/components/ChallengesComponent/ChallengeList

1 file changed

+1
-2
lines changed

src/components/ChallengesComponent/ChallengeList/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ class ChallengeList extends Component {
154154
const { searchText, sortBy, sortOrder } = this.state
155155
const {
156156
perPage,
157-
page,
158157
loadChallengesByPage,
159158
activeProjectId,
160159
dashboard,
@@ -168,7 +167,7 @@ class ChallengeList extends Component {
168167
let projectId = dashboard ? filterProjectOption : activeProjectId
169168
if (perPage !== perPageNumber) {
170169
loadChallengesByPage(
171-
page,
170+
1,
172171
projectId,
173172
status,
174173
searchText,

0 commit comments

Comments
 (0)