diff --git a/src/shared/components/common/image-upload-form.tsx b/src/shared/components/common/image-upload-form.tsx index 71337418..9d380fd6 100644 --- a/src/shared/components/common/image-upload-form.tsx +++ b/src/shared/components/common/image-upload-form.tsx @@ -36,7 +36,7 @@ export class ImageUploadForm extends Component<
{this.props.imageSrc && ( - {/* TODO: Create "Current Iamge" translation for alt text */} + {/* TODO: Create "Current Image" translation for alt text */} { return this.props.src; } - // If theres no match, then its not a pictrs image + // If there's no match, then it's not a pictrs image if (!url.pathname.includes("/pictrs/image/")) { return this.props.src; } diff --git a/src/shared/utils/app/setup-date-fns.ts b/src/shared/utils/app/setup-date-fns.ts index 8c3c1455..2a27df35 100644 --- a/src/shared/utils/app/setup-date-fns.ts +++ b/src/shared/utils/app/setup-date-fns.ts @@ -168,7 +168,7 @@ function bestDateFns( return locale; } } - // Fallback to base langauge first, to avoid mixing languages. + // Fallback to base language first, to avoid mixing languages. return langToLocale(base_lang) ?? localeByCode[EN_US]; }