From fdf928ab941980258a5e9faf09383b9cf69dc860 Mon Sep 17 00:00:00 2001 From: gs0428 Date: Tue, 13 Feb 2024 18:48:07 +0900 Subject: [PATCH] =?UTF-8?q?feature-062:=20=ED=8F=B4=EB=8D=94=EA=B0=80=20?= =?UTF-8?q?=EA=B0=99=EC=9D=80=20=EA=B3=B3=EC=97=90=20=EB=86=93=EC=95=84?= =?UTF-8?q?=EC=A7=88=20=EA=B2=BD=EC=9A=B0=20API=20=EC=9A=94=EC=B2=AD=20?= =?UTF-8?q?=EB=A7=89=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/sideBar/UserMode.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/layout/sideBar/UserMode.tsx b/src/components/layout/sideBar/UserMode.tsx index b2ed517..7457cba 100644 --- a/src/components/layout/sideBar/UserMode.tsx +++ b/src/components/layout/sideBar/UserMode.tsx @@ -47,6 +47,8 @@ const UserMode = () => { }; const putCategoryFolder = async () => { + if (grabedCategory.current?.categoryId === dropedCategory.current) return; + let response; if (grabedCategory.current?.topCategoryId === -1) { response = await subToTop(grabedCategory);