We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0c55d0 commit 8391805Copy full SHA for 8391805
assets/src/scripts/blocks/latest-post.js
@@ -1,5 +1,5 @@
1
const { registerBlockType } = wp.blocks;
2
-const { withAPIData } = wp.components;
+const { withAPIData, withSelect } = wp.data;
3
4
registerBlockType( 'gutenberg-test/latest-post', {
5
title: 'Latest Post',
0 commit comments