[Accessibility] Fix typo in handleAdviceCardDissmiss function name (#48650)
* Fix typo in handleAdviceCardDissmiss function name * Add changelog file
This commit is contained in:
parent
deb76cbada
commit
d5993ec424
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: tweak
|
||||
|
||||
Fix typo in handleAdviceCardDissmiss function name
|
|
@ -259,7 +259,7 @@ export function LinkedProductListBlockEdit( {
|
|||
setLinkedProductIds( newLinkedProducts );
|
||||
}
|
||||
|
||||
function handleAdviceCardDissmiss() {
|
||||
function handleAdviceCardDismiss() {
|
||||
recordEvent( 'linked_products_placeholder_dismiss', {
|
||||
source: TRACKS_SOURCE,
|
||||
field: property,
|
||||
|
@ -297,7 +297,7 @@ export function LinkedProductListBlockEdit( {
|
|||
tip={ emptyState.tip }
|
||||
dismissPreferenceId={ `woocommerce-product-${ property }-advice-card-dismissed` }
|
||||
isDismissible={ emptyState.isDismissible }
|
||||
onDismiss={ handleAdviceCardDissmiss }
|
||||
onDismiss={ handleAdviceCardDismiss }
|
||||
>
|
||||
<EmptyStateImage { ...emptyState } />
|
||||
</AdviceCard>
|
||||
|
|
Loading…
Reference in New Issue