Skip to content

Commit f12d6d6

Browse files
Fix checkpoint challengeId comparation
1 parent 1499985 commit f12d6d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reducers/challenge.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function onFetchCheckpointsDone(state, action) {
173173
loadingCheckpoints: false,
174174
};
175175
}
176-
if (state.details && state.details.legacyId === action.payload.challengeId) {
176+
if (state.details && `${state.details.legacyId}` === `${action.payload.challengeId}`) {
177177
return {
178178
...state,
179179
checkpoints: action.payload.checkpoints,

0 commit comments

Comments
 (0)