Skip to content

Commit

Permalink
fix(AsideHeader): update useMemo dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshenJ committed Oct 24, 2024
1 parent 3b1fed8 commit 58196aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const useAsideHeaderInnerContextValue = (
},
]
: menuItems || EMPTY_MENU_ITEMS,
[allPagesIsAvailable, menuItems, innerVisiblePanel, ALL_PAGES_MENU_ITEM],
[allPagesIsAvailable, menuItems, innerVisiblePanel, ALL_PAGES_MENU_ITEM, onAllPagesClick],
);

const innerPanelItems = useMemo(() => {
Expand Down

0 comments on commit 58196aa

Please sign in to comment.