Skip to content

Commit

Permalink
Merge pull request #168 from LM-channel-team-project/feature/FixNoLog…
Browse files Browse the repository at this point in the history
…inUndefinedError

로그인 안한 상태에서 언디파인 에러를 수정했습니다.
  • Loading branch information
Ho-s authored Sep 2, 2021
2 parents 831a167 + 090abc3 commit 7c831b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const PersonalDetailModal = ({ data, onCloseModal }: PersonalModalProps) => {

useEffect(() => {
data?.teamList.forEach((el: any) => {
if (el.id === makeTeamIdByUserId(userData.getUser.items[0]?.id)) {
if (el.id === makeTeamIdByUserId(userData?.getUser.items[0]?.id)) {
setIsInTeam(true);
}
});
Expand Down

0 comments on commit 7c831b7

Please sign in to comment.