diff --git a/blocks/api/query.js b/blocks/api/query.js index cb448a13ea1194..c369164b335db3 100644 --- a/blocks/api/query.js +++ b/blocks/api/query.js @@ -58,6 +58,6 @@ export const node = withKnownMatcherFlag( ( selector ) => { match = domNode.querySelector( selector ); } - return nodeToReact( match, wp.element.createElement ); + return nodeToReact( match, createElement ); }; } );