diff --git a/packages/js/components/changelog/50993-fix-some-comment-typos b/packages/js/components/changelog/50993-fix-some-comment-typos new file mode 100644 index 00000000000..3dce9f8d32b --- /dev/null +++ b/packages/js/components/changelog/50993-fix-some-comment-typos @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Comment: Fix some comment typos. diff --git a/packages/js/components/src/tree-select-control/index.scss b/packages/js/components/src/tree-select-control/index.scss index bec8900acfa..a2574fd39d9 100644 --- a/packages/js/components/src/tree-select-control/index.scss +++ b/packages/js/components/src/tree-select-control/index.scss @@ -215,7 +215,7 @@ $muriel-box-shadow-8dp: 0 5px 5px -3px rgb(0 0 0 / 20%), } // At the time of this comment, it was discovered that this component has - // the same classnames as the WP Components Checkbox, without it being a code depedency. + // the same class names as the WP Components Checkbox, without it being a code dependency. // This caused some visual breakages when changes happened in WP 6.6, and // the rules have been copied over from WP Components styles of 6.5.1. // https://github.com/WordPress/gutenberg/blob/403b4b8d014ef7f6edc15c822e455e109bf49c6d/packages/components/src/checkbox-control/style.scss#L4 diff --git a/packages/js/product-editor/changelog/50993-fix-some-comment-typos b/packages/js/product-editor/changelog/50993-fix-some-comment-typos new file mode 100644 index 00000000000..3dce9f8d32b --- /dev/null +++ b/packages/js/product-editor/changelog/50993-fix-some-comment-typos @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Comment: Fix some comment typos. diff --git a/packages/js/product-editor/src/components/custom-fields/custom-field-name-control/custom-field-name-control.tsx b/packages/js/product-editor/src/components/custom-fields/custom-field-name-control/custom-field-name-control.tsx index 44eb7fd03c2..94818f40ae3 100644 --- a/packages/js/product-editor/src/components/custom-fields/custom-field-name-control/custom-field-name-control.tsx +++ b/packages/js/product-editor/src/components/custom-fields/custom-field-name-control/custom-field-name-control.tsx @@ -26,7 +26,7 @@ import type { CustomFieldNameControlProps } from './types'; * the arbitrary value into an option so it can be selected as * a valid value * - * @param search The seraching criteria. + * @param search The search criteria. * @return The list of filtered custom field names as a Promise. */ async function searchCustomFieldNames( search?: string ) { diff --git a/packages/js/remote-logging/changelog/50993-fix-some-comment-typos b/packages/js/remote-logging/changelog/50993-fix-some-comment-typos new file mode 100644 index 00000000000..3dce9f8d32b --- /dev/null +++ b/packages/js/remote-logging/changelog/50993-fix-some-comment-typos @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Comment: Fix some comment typos. diff --git a/packages/js/remote-logging/src/remote-logger.ts b/packages/js/remote-logging/src/remote-logger.ts index e4e71d72bac..06832a995d8 100644 --- a/packages/js/remote-logging/src/remote-logger.ts +++ b/packages/js/remote-logging/src/remote-logger.ts @@ -292,7 +292,7 @@ export class RemoteLogger { .map( this.getFormattedFrame ) .join( '\n\n' ); - // Set hard limit of 8192 characters for the stack trace so it does not use too much user bandwith and also our computation. + // Set hard limit of 8192 characters for the stack trace so it does not use too much user bandwidth and also our computation. return trace.length > 8192 ? trace.substring( 0, 8192 ) : trace; } diff --git a/packages/js/tracks/changelog/50993-fix-some-comment-typos b/packages/js/tracks/changelog/50993-fix-some-comment-typos new file mode 100644 index 00000000000..3dce9f8d32b --- /dev/null +++ b/packages/js/tracks/changelog/50993-fix-some-comment-typos @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Comment: Fix some comment typos. diff --git a/packages/js/tracks/src/stats.ts b/packages/js/tracks/src/stats.ts index 79a28497776..2040f1e5676 100644 --- a/packages/js/tracks/src/stats.ts +++ b/packages/js/tracks/src/stats.ts @@ -22,7 +22,7 @@ const GROUP_PREFIX = 'x_woocommerce-'; * @param {Record | string} group - The group of stats or a single stat name. * @param {string} [name] - The name of the stat if group is a string. * - * @return {URLSearchParams} The constructed querys. + * @return {URLSearchParams} The constructed query. */ function buildQueryParams( group: Record< string, string > | string,