[Accessibility] Fix typo in AligmentToolbarButton function name (#48651)

This commit is contained in:
Gabriel Manussakis 2024-08-27 10:50:01 -03:00 committed by GitHub
parent e5c6477a4e
commit 7d8cd500b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: tweak
Fix typo in AligmentToolbarButton function name

View File

@ -18,7 +18,7 @@ import type {
TextAreaBlockEditAttributes,
TextAreaBlockEditProps,
} from './types';
import AligmentToolbarButton from './toolbar/toolbar-button-alignment';
import AlignmentToolbarButton from './toolbar/toolbar-button-alignment';
import { useClearSelectedBlockOnBlur } from '../../../hooks/use-clear-selected-block-on-blur';
import useProductEntityProp from '../../../hooks/use-product-entity-prop';
import { Label } from '../../../components/label/label';
@ -100,7 +100,7 @@ export function TextAreaBlockEdit( {
<div { ...blockProps }>
{ isRichTextMode && (
<BlockControls { ...blockControlsBlockProps }>
<AligmentToolbarButton
<AlignmentToolbarButton
align={ align }
setAlignment={ setAlignment }
/>

View File

@ -38,7 +38,7 @@ export const ALIGNMENT_CONTROLS = [
},
];
export default function AligmentToolbarButton( {
export default function AlignmentToolbarButton( {
align,
setAlignment,
}: AlignmentControl ) {