diff --git a/packages/block-editor/src/components/block-alignment-toolbar/index.js b/packages/block-editor/src/components/block-alignment-toolbar/index.js index 2e4ac8ea7556d..767bf541b3336 100644 --- a/packages/block-editor/src/components/block-alignment-toolbar/index.js +++ b/packages/block-editor/src/components/block-alignment-toolbar/index.js @@ -89,10 +89,10 @@ export function BlockAlignmentToolbar( { export default compose( withSelect( ( select ) => { - const { getSettings } = select( 'core/block-editor' ); - const settings = getSettings(); + const { getThemeSupports } = select( 'core' ); + const themeSupports = getThemeSupports(); return { - wideControlsEnabled: settings.alignWide, + wideControlsEnabled: themeSupports.alignWide, }; } ) )( BlockAlignmentToolbar );