From c823cc51e45102513141358e2c8ecdcfdf13bea1 Mon Sep 17 00:00:00 2001 From: s-sasaki-0529 Date: Fri, 14 Jun 2024 23:13:05 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20eslint=20=E9=81=95=E5=8F=8D=E3=82=92?= =?UTF-8?q?=E7=84=A1=E8=A6=96=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/smarthr-ui/src/components/Dropdown/Dropdown.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/smarthr-ui/src/components/Dropdown/Dropdown.tsx b/packages/smarthr-ui/src/components/Dropdown/Dropdown.tsx index 0b79a417cd..2baf613e56 100644 --- a/packages/smarthr-ui/src/components/Dropdown/Dropdown.tsx +++ b/packages/smarthr-ui/src/components/Dropdown/Dropdown.tsx @@ -91,6 +91,7 @@ export const Dropdown: FC> = ({ onToggle, children }) = if (isPortalRootMounted() && onToggle) { onToggle(active) } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [active]) // set the displayName explicit for DevTools