Skip to content

Commit

Permalink
Fix lint error from #40583 + #40578 (#40601)
Browse files Browse the repository at this point in the history
#40578 adjusted the eslint config and fixed existing errors, but #40583 snuck in just ahead of it adding a new instance of the error.
  • Loading branch information
anomiex authored Dec 12, 2024
1 parent f7cfbf4 commit 36d84a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions projects/packages/jetpack-mu-wpcom/changelog/fix-lint-error
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: fixed
Comment: Fix lint error from #40583 + #40578


Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ type CoreNuxPlaceholder = {
* Recursively finds the Content block if any.
*
* @param blocks - The current blocks
* @return Block found, if any
*/
function findPostContentBlock( blocks: BlockInstance[] ): BlockInstance | null {
for ( const block of blocks ) {
Expand Down

0 comments on commit 36d84a3

Please sign in to comment.