Skip to content

Commit

Permalink
Fix typo: parentColumsBlockClientId => parentColumnsBlockClientId (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
xel1045 authored and gziolo committed Apr 14, 2019
1 parent dd9bf47 commit 77ae051
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/block-library/src/column/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ export default compose(
const { getBlockRootClientId } = select( 'core/editor' );

return {
parentColumsBlockClientId: getBlockRootClientId( clientId ),
parentColumnsBlockClientId: getBlockRootClientId( clientId ),
};
} ),
withDispatch( ( dispatch, { clientId, parentColumsBlockClientId } ) => {
withDispatch( ( dispatch, { clientId, parentColumnsBlockClientId } ) => {
return {
updateAlignment( alignment ) {
// Update self...
Expand All @@ -49,7 +49,7 @@ export default compose(
} );

// Reset Parent Columns Block
dispatch( 'core/editor' ).updateBlockAttributes( parentColumsBlockClientId, {
dispatch( 'core/editor' ).updateBlockAttributes( parentColumnsBlockClientId, {
verticalAlignment: null,
} );
},
Expand Down

0 comments on commit 77ae051

Please sign in to comment.