diff --git a/src/components/AsideHeader/useAsideHeaderTopPanel.tsx b/src/components/AsideHeader/useAsideHeaderTopPanel.tsx index 17c5d69..2ea18b7 100644 --- a/src/components/AsideHeader/useAsideHeaderTopPanel.tsx +++ b/src/components/AsideHeader/useAsideHeaderTopPanel.tsx @@ -53,7 +53,7 @@ export const useAsideHeaderTopPanel = ({ window.removeEventListener('resize', updateTopSizeDebounce); setAsideTopPanelHeight(0); }; - }, [topAlert, topHeight, topRef, updateTopSize]); + }, [topAlert, topHeight, topRef, updateTopSize, setAsideTopPanelHeight]); return { topRef,