0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-04-15 03:11:28 -05:00

fix(web): fix typos (#16466)

Found via codespell
This commit is contained in:
luzpaz 2025-03-01 17:51:50 -05:00 committed by GitHub
parent f13d13b2ea
commit 506d2d0f81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -60,7 +60,7 @@ const observe = (key: HTMLElement | string, target: HTMLElement, properties: Int
(entries: IntersectionObserverEntry[]) => {
// This IntersectionObserver is limited to observing a single element, the one the
// action is attached to. If there are multiple entries, it means that this
// observer is being notified of multiple events that have occured quickly together,
// observer is being notified of multiple events that have occurred quickly together,
// and the latest element is the one we are interested in.
entries.sort((a, b) => a.time - b.time);

View file

@ -70,7 +70,7 @@ describe('FormatMessage component', () => {
expect(getSanitizedHTML(container)).toBe('You have <strong>1 item</strong>');
});
it('protects agains XSS injection', () => {
it('protects against XSS injection', () => {
render(FormatMessage, {
key: 'xss' as Translations,
});

View file

@ -19,7 +19,7 @@ export type Notification = {
/** The action to take when the notification is clicked */
action: NotificationAction;
button?: NotificationButton;
/** Timeout in miliseconds */
/** Timeout in milliseconds */
timeout: number;
};

View file

@ -7,7 +7,7 @@
import { t } from 'svelte-i18n';
</script>
<!-- Inidvidual Purchase Option -->
<!-- Individual Purchase Option -->
<div class="border border-gray-300 dark:border-gray-800 w-[375px] p-8 rounded-3xl bg-gray-100 dark:bg-gray-900">
<div class="text-immich-primary dark:text-immich-dark-primary">
<Icon path={mdiAccount} size="56" />