diff --git a/blocks/library/columns/index.js b/blocks/library/columns/index.js index 30798bac794de0..a5ea1695340955 100644 --- a/blocks/library/columns/index.js +++ b/blocks/library/columns/index.js @@ -46,6 +46,8 @@ registerBlockType( 'core/columns', { edit( { attributes, setAttributes, setChildren, children, className, focus } ) { const { columns } = attributes; + // TODO: Refactor setChildFragment to be less awful, separated, tested. + const setChildFragment = ( index ) => ( nextChildren ) => { const fragmented = mapChildren( children, columns, identity ); const origNumChildren = fragmented[ index ].length;