Skip to content

Commit

Permalink
Block Editor: Fix ESLint warning for 'useBlockTypesState' hook (#66757)
Browse files Browse the repository at this point in the history
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: up1512001 <[email protected]>
  • Loading branch information
3 people authored Nov 5, 2024
1 parent f1fe404 commit 177c6a2
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ const useBlockTypesState = ( rootClientId, onInsert, isQuick ) => {
destinationClientId
);
},
[ onInsert, getClosestAllowedInsertionPoint, rootClientId ]
[
getClosestAllowedInsertionPoint,
rootClientId,
onInsert,
createErrorNotice,
]
);

return [ items, categories, collections, onSelectItem ];
Expand Down

0 comments on commit 177c6a2

Please sign in to comment.