Skip to content

Commit

Permalink
Merge pull request #162 from TheUpperPart/Fix/#161
Browse files Browse the repository at this point in the history
Fix: 배포시 에러 수정
  • Loading branch information
pp449 authored Oct 8, 2023
2 parents 6dfd893 + 3554e86 commit 5d91626
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Sidebar/BoardBar/BoardBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ const BoardBody = ({ channelLink }: Props) => {
return;
}

if (!boards) return;

if (isSuccess) {
const tmpBoards = data.channelBoardLoadDtdList;
selectBoardId(tmpBoards[0].boardId);
Expand Down

0 comments on commit 5d91626

Please sign in to comment.