Skip to content

Commit

Permalink
Fix: 배포시 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
pp449 committed Oct 8, 2023
1 parent 6dfd893 commit 3554e86
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 3554e86

Please sign in to comment.