From 79fd82484c8891d235ba535de8b67fbee1e68558 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 15 Dec 2021 11:08:39 +0000 Subject: [PATCH] Update assets/js/base/components/quantity-selector/index.tsx --- assets/js/base/components/quantity-selector/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/base/components/quantity-selector/index.tsx b/assets/js/base/components/quantity-selector/index.tsx index 5654203822b..e5dda6d7f65 100644 --- a/assets/js/base/components/quantity-selector/index.tsx +++ b/assets/js/base/components/quantity-selector/index.tsx @@ -130,7 +130,7 @@ const QuantitySelector = ( { value = isNaN( value ) ? quantity : value; if ( value !== quantity ) { - // we commit this value immideatly. + // we commit this value immediately. onChange( value ); // but once the customer has stopped typing, we make sure his value is respecting the bounds (maximum value, minimum value, step value), and commit the normlized value. normalizeQuantity( value );