From 2d48c15c02c481e7873e37f7b7dfec7f42396bb3 Mon Sep 17 00:00:00 2001 From: Eric Olkowski Date: Wed, 2 Aug 2023 08:25:51 -0400 Subject: [PATCH] Removed unnecessary hideShowTime var --- packages/react-core/src/components/Popover/Popover.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react-core/src/components/Popover/Popover.tsx b/packages/react-core/src/components/Popover/Popover.tsx index 8fe0cc7e31d..2ce5c627a4f 100644 --- a/packages/react-core/src/components/Popover/Popover.tsx +++ b/packages/react-core/src/components/Popover/Popover.tsx @@ -278,7 +278,6 @@ export const Popover: React.FunctionComponent = ({ const [visible, setVisible] = React.useState(false); const [focusTrapActive, setFocusTrapActive] = React.useState(Boolean(propWithFocusTrap)); const popoverRef = React.useRef(null); - const hideShowTime = triggerAction === 'hover' ? animationDuration : 0; React.useEffect(() => { onMount();