From 190552603d90cc15d268f4a025a91294066d1fda Mon Sep 17 00:00:00 2001 From: s-sasaki-0529 Date: Fri, 14 Jun 2024 23:04:53 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=8D=E8=A6=81=E3=81=AA=E5=B7=AE?= =?UTF-8?q?=E5=88=86=E3=82=92=E6=88=BB=E3=81=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/smarthr-ui/src/components/Dropdown/Dropdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/smarthr-ui/src/components/Dropdown/Dropdown.tsx b/packages/smarthr-ui/src/components/Dropdown/Dropdown.tsx index 879e3840ba..c8e1bf6b8e 100644 --- a/packages/smarthr-ui/src/components/Dropdown/Dropdown.tsx +++ b/packages/smarthr-ui/src/components/Dropdown/Dropdown.tsx @@ -84,7 +84,7 @@ export const Dropdown: FC> = ({ onToggle, children }) = if (!active) return null return createPortal(props.children) }, - [createPortal, isPortalRootMounted, onToggle], + [active, createPortal, isPortalRootMounted], ) useEffect(() => {