Skip to content

Commit

Permalink
Add missing post.slug dependency to useMemo (#66125)
Browse files Browse the repository at this point in the history
- Add missing `post.slug` dependency to `useMemo`

Co-authored-by: SantosGuillamot <[email protected]>
Co-authored-by: youknowriad <[email protected]>
  • Loading branch information
3 people authored and gutenbergplugin committed Oct 15, 2024
1 parent 69e6747 commit f939558
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/editor/src/components/provider/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ export const ExperimentalEditorProvider = withRegistryProvider(
shouldRenderTemplate,
post.id,
post.type,
post.slug,
rootLevelPost.type,
rootLevelPost.slug,
postTypes,
Expand Down

0 comments on commit f939558

Please sign in to comment.