I found the solution… must use getEntityRecord
not getEntityRecods
:
select("core").getEntityRecord("postType", "attachment", post.featured_media);
I found the solution… must use getEntityRecord
not getEntityRecods
:
select("core").getEntityRecord("postType", "attachment", post.featured_media);