From 5092dfa6e6ba268ac182f9984311288aa9e12812 Mon Sep 17 00:00:00 2001 From: bicochan Date: Wed, 2 Jul 2025 09:33:07 +0900 Subject: [PATCH] =?UTF-8?q?[apps/cs]=20chore:=20menu=20wrapper=20=EB=A1=9C?= =?UTF-8?q?=EC=A7=81=20pathname=20=EB=B3=80=EA=B2=BD=EB=90=A0=20=EB=95=8C?= =?UTF-8?q?=EB=A7=88=EB=8B=A4=20=EC=8B=A4=ED=96=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/cs/src/entities/menu/lib/menu-wrapper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cs/src/entities/menu/lib/menu-wrapper.tsx b/apps/cs/src/entities/menu/lib/menu-wrapper.tsx index 7ecf2e6dd..1f1080cac 100644 --- a/apps/cs/src/entities/menu/lib/menu-wrapper.tsx +++ b/apps/cs/src/entities/menu/lib/menu-wrapper.tsx @@ -43,7 +43,7 @@ const MenuWrapper = ({ children }: { children: React.ReactNode }) => { const response = await getPageMenuAuthority(); if (response?.length) setPageMenuAuthority(response[0]!); })(); - }, []); + }, [pathname]); useEffect(() => { if (!pageMenuAuthority) return;