minor doc comment
This commit is contained in:
parent
9fed1e67ff
commit
3f39802848
|
@ -53,6 +53,7 @@ export function IframeEditor( {
|
||||||
const [ temporalBlocks, setTemporalBlocks ] =
|
const [ temporalBlocks, setTemporalBlocks ] =
|
||||||
useState< BlockInstance[] >( initialBlocks );
|
useState< BlockInstance[] >( initialBlocks );
|
||||||
|
|
||||||
|
// Pick the blocks from the store.
|
||||||
const blocks: BlockInstance[] = useSelect( ( select ) => {
|
const blocks: BlockInstance[] = useSelect( ( select ) => {
|
||||||
return select( productEditorUiStore ).getModalEditorBlocks();
|
return select( productEditorUiStore ).getModalEditorBlocks();
|
||||||
}, [] );
|
}, [] );
|
||||||
|
|
Loading…
Reference in New Issue