From 7d8cd500b50f35fa31d6e7873bb962811cd118db Mon Sep 17 00:00:00 2001 From: Gabriel Manussakis <9420947+Manussakis@users.noreply.github.com> Date: Tue, 27 Aug 2024 10:50:01 -0300 Subject: [PATCH] [Accessibility] Fix typo in AligmentToolbarButton function name (#48651) --- .../fix-misspelling-in-AligmentToolbarButton-func-name | 4 ++++ .../js/product-editor/src/blocks/generic/text-area/edit.tsx | 4 ++-- .../text-area/toolbar/toolbar-button-alignment/index.tsx | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 packages/js/product-editor/changelog/fix-misspelling-in-AligmentToolbarButton-func-name diff --git a/packages/js/product-editor/changelog/fix-misspelling-in-AligmentToolbarButton-func-name b/packages/js/product-editor/changelog/fix-misspelling-in-AligmentToolbarButton-func-name new file mode 100644 index 00000000000..3cc637e471c --- /dev/null +++ b/packages/js/product-editor/changelog/fix-misspelling-in-AligmentToolbarButton-func-name @@ -0,0 +1,4 @@ +Significance: minor +Type: tweak + +Fix typo in AligmentToolbarButton function name diff --git a/packages/js/product-editor/src/blocks/generic/text-area/edit.tsx b/packages/js/product-editor/src/blocks/generic/text-area/edit.tsx index 163c9fcb927..7c0430ef478 100644 --- a/packages/js/product-editor/src/blocks/generic/text-area/edit.tsx +++ b/packages/js/product-editor/src/blocks/generic/text-area/edit.tsx @@ -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( {