Skip to content

Commit 092a3db

Browse files
authored
Merge pull request #4365 from cpinitiative/warning_fix
fix warnings
2 parents 5823f52 + ca3a424 commit 092a3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Dashboard/ModuleLink.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ const ModuleLink = ({ link }: { link: ModuleLinkInfo }): JSX.Element => {
203203
py: link.pyOc,
204204
showAll: maxLangOc,
205205
};
206-
const isMissingLang = langToOc[userLang] ?? 0 < maxLangOc;
206+
const isMissingLang = (langToOc[userLang] ?? 0) < maxLangOc;
207207
return (
208208
<LinkWithProgress
209209
lineColorStyle={lineColorStyle}

0 commit comments

Comments
 (0)