Skip to content

Commit

Permalink
[Block Library - Query Loop] Fix race condition for making Post block…
Browse files Browse the repository at this point in the history
…s inside uneditable (#33037)
  • Loading branch information
ntsekouras authored and youknowriad committed Jun 28, 2021
1 parent caa37e9 commit e5dea61
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/block-library/src/post-template/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export default function PostTemplateEdit( {
sticky,
inherit,
} = {},
queryId,
queryContext = [ { page: 1 } ],
templateSlug,
displayLayout: { type: layoutType = 'flex', columns = 1 } = {},
Expand Down Expand Up @@ -116,7 +115,6 @@ export default function PostTemplateEdit( {
posts?.map( ( post ) => ( {
postType: post.type,
postId: post.id,
queryId,
} ) ),
[ posts ]
);
Expand Down

0 comments on commit e5dea61

Please sign in to comment.