Skip to content

Commit

Permalink
fix: hook missing set func
Browse files Browse the repository at this point in the history
  • Loading branch information
goshander committed Nov 24, 2023
1 parent cc68a39 commit 10d1012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AsideHeader/useAsideHeaderTopPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const useAsideHeaderTopPanel = ({
window.removeEventListener('resize', updateTopSizeDebounce);
setAsideTopPanelHeight(0);
};
}, [topAlert, topHeight, topRef, updateTopSize]);
}, [topAlert, topHeight, topRef, updateTopSize, setAsideTopPanelHeight]);

return {
topRef,
Expand Down

0 comments on commit 10d1012

Please sign in to comment.