[Accessibility] Fix typo in AligmentToolbarButton function name (#48651)
This commit is contained in:
parent
e5c6477a4e
commit
7d8cd500b5
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: tweak
|
||||
|
||||
Fix typo in AligmentToolbarButton function name
|
|
@ -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 }
|
||||
/>
|
||||
|
|
|
@ -38,7 +38,7 @@ export const ALIGNMENT_CONTROLS = [
|
|||
},
|
||||
];
|
||||
|
||||
export default function AligmentToolbarButton( {
|
||||
export default function AlignmentToolbarButton( {
|
||||
align,
|
||||
setAlignment,
|
||||
}: AlignmentControl ) {
|
||||
|
|
Loading…
Reference in New Issue