We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d73f75a commit 8cfc771Copy full SHA for 8cfc771
projects/plugins/jetpack/extensions/shared/wait-for-editor.js
@@ -12,7 +12,6 @@ export const waitForEditor = async () =>
12
select( 'core/editor' ).isCleanNewPost() ||
13
select( 'core/block-editor' ).getBlocks().length > 0
14
) {
15
- console.log( 'Resolved immediately' );
16
resolve();
17
return;
18
}
@@ -24,7 +23,6 @@ export const waitForEditor = async () =>
24
23
}, 2000 );
25
26
const unsubscribe = subscribe( () => {
27
- console.log( 'Checking blocks' );
28
const blocks = select( 'core/block-editor' ).getBlocks();
29
if ( blocks.length > 0 ) {
30
clearTimeout( timeoutId );
0 commit comments