Skip to content

Commit 8391805

Browse files
committed
Gutenberg api fix
1 parent b0c55d0 commit 8391805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/src/scripts/blocks/latest-post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { registerBlockType } = wp.blocks;
2-
const { withAPIData } = wp.components;
2+
const { withAPIData, withSelect } = wp.data;
33

44
registerBlockType( 'gutenberg-test/latest-post', {
55
title: 'Latest Post',

0 commit comments

Comments
 (0)