Skip to content

Commit

Permalink
useBlockSettings: add missing useMemo dependencies (#55204)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr authored Oct 11, 2023
1 parent 4d04850 commit f29a96b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/block-editor/src/hooks/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ export function useBlockSettings( name, parentLayout ) {
isBackgroundEnabled,
isLinkEnabled,
isTextEnabled,
isHeadingEnabled,
isButtonEnabled,
] );

return useSettingsForBlockElement( rawSettings, name );
Expand Down

0 comments on commit f29a96b

Please sign in to comment.