From 3554e86279fcf925fcd19ae73c694173710f8971 Mon Sep 17 00:00:00 2001 From: Lee sang Yeop Date: Sun, 8 Oct 2023 16:39:44 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EB=B0=B0=ED=8F=AC=EC=8B=9C=20=EC=97=90?= =?UTF-8?q?=EB=9F=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Sidebar/BoardBar/BoardBody.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Sidebar/BoardBar/BoardBody.tsx b/src/components/Sidebar/BoardBar/BoardBody.tsx index be89ecc..0eae34c 100644 --- a/src/components/Sidebar/BoardBar/BoardBody.tsx +++ b/src/components/Sidebar/BoardBar/BoardBody.tsx @@ -133,6 +133,8 @@ const BoardBody = ({ channelLink }: Props) => { return; } + if (!boards) return; + if (isSuccess) { const tmpBoards = data.channelBoardLoadDtdList; selectBoardId(tmpBoards[0].boardId);