Skip to content

Commit a0661f4

Browse files
committed
fix: issue #4549
1 parent 58126ac commit a0661f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/utils/challenge-detail/helper.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export function getDisplayRecommendedChallenges(
208208
let results = _.filter(displayRecommendedChallenges, (c) => {
209209
let isValid = filter(c);
210210
if (isValid && userId) {
211-
isValid = !c.users[userId] && c.id !== challenge.id;
211+
isValid = c.id !== challenge.id && !c.users[userId];
212212
}
213213
return isValid;
214214
});

0 commit comments

Comments
 (0)