Skip to content

Commit 4aed281

Browse files
committed
Remove unused parameter
1 parent 1360753 commit 4aed281

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/commons/sagas/LeaderboardSaga.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
} from './RequestsSaga';
1313

1414
const LeaderboardSaga = combineSagaHandlers(LeaderboardActions, {
15-
getAllUsersXp: function* (action) {
15+
getAllUsersXp: function* () {
1616
const tokens: Tokens = yield selectTokens();
1717

1818
const usersXp = yield call(getAllTotalXp, tokens);
@@ -38,7 +38,6 @@ const LeaderboardSaga = combineSagaHandlers(LeaderboardActions, {
3838
const assessmentId = action.payload;
3939

4040
const contestPopularVotes = yield call(getContestPopularVoteLeaderboard, assessmentId, tokens);
41-
4241
if (contestPopularVotes) {
4342
yield put(actions.saveAllContestPopularVotes(contestPopularVotes));
4443
}

0 commit comments

Comments
 (0)