minor doc comment

This commit is contained in:
Damián Suárez 2023-12-06 11:51:58 -03:00
parent 9fed1e67ff
commit 3f39802848
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ export function IframeEditor( {
const [ temporalBlocks, setTemporalBlocks ] =
useState< BlockInstance[] >( initialBlocks );
// Pick the blocks from the store.
const blocks: BlockInstance[] = useSelect( ( select ) => {
return select( productEditorUiStore ).getModalEditorBlocks();
}, [] );