Skip to content

Commit

Permalink
Use imports instead of the global wp variable
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Jun 27, 2017
1 parent e31b580 commit e51306e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/api/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ export const node = withKnownMatcherFlag( ( selector ) => {
match = domNode.querySelector( selector );
}

return nodeToReact( match, wp.element.createElement );
return nodeToReact( match, createElement );
};
} );

0 comments on commit e51306e

Please sign in to comment.