Skip to content

Commit

Permalink
fix(AsideHeader): callback dependecies
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshenJ committed Dec 12, 2024
1 parent 6f449fc commit 2929dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AllPagesPanel/AllPagesPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const AllPagesPanel: React.FC<AllPagesPanelProps> = (props) => {

const onDragEnd = useCallback(() => {
setDragingItemTitle(null);
}, []);
}, [setDragingItemTitle]);

const itemRender = useCallback(
(item: ListItemData<MenuItem>, _isActive: boolean, _itemIndex: number) => {
Expand Down

0 comments on commit 2929dbc

Please sign in to comment.