diff --git a/packages/js/product-editor/src/components/iframe-editor/iframe-editor.tsx b/packages/js/product-editor/src/components/iframe-editor/iframe-editor.tsx index 903d02248ce..d591e9822db 100644 --- a/packages/js/product-editor/src/components/iframe-editor/iframe-editor.tsx +++ b/packages/js/product-editor/src/components/iframe-editor/iframe-editor.tsx @@ -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(); }, [] );