We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67352b0 commit c22daa6Copy full SHA for c22daa6
frontend/src/pages/Challenges/index.js
@@ -54,7 +54,8 @@ export default function Challenges({ location }) {
54
}
55
if (languageFilter) {
56
filtered = filtered.filter((challenge) => {
57
- const serializedTechs = challenge.techs[0].split(', ');
+ const [ techs ] = challenge.techs;
58
+ const serializedTechs = techs.split(', ');
59
const hasSelectedTech =
60
serializedTechs.includes(languageFilter) ||
61
serializedTechs.includes('Free Choice');
0 commit comments