Skip to content

Commit 4f6e1d0

Browse files
committed
Fix InputSkillSelector check
1 parent 7de4c5c commit 4f6e1d0

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)