Skip to content

Commit e8d8836

Browse files
authored
Merge pull request #805 from topcoder-platform/skill-input-fix
Fix use-member-skill-editor check -> dev
2 parents b926a14 + 4f6e1d0 commit e8d8836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/shared/lib/components/member-skill-editor/use-member-skill-editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const useMemberSkillEditor = ({
6464
return
6565
}
6666

67-
if (skill.skillSources.includes(EmsiSkillSources.challengeWin)) {
67+
if (skill.skillSources && skill.skillSources.includes(EmsiSkillSources.challengeWin)) {
6868
return
6969
}
7070

0 commit comments

Comments
 (0)