From c81e5814170583b42e27aac56f84ca123bd0b24e Mon Sep 17 00:00:00 2001 From: robonau <30987265+Robonau@users.noreply.github.com> Date: Sun, 17 Dec 2023 12:37:33 +0000 Subject: [PATCH 1/2] lint --- src/service-worker.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/service-worker.ts b/src/service-worker.ts index a4bbbd16..4782a9f2 100644 --- a/src/service-worker.ts +++ b/src/service-worker.ts @@ -134,7 +134,11 @@ function respondGET(event: FetchEvent) { const cache = await openCache; // static assets/thumbnails, cache first - if (ASSETS.includes(url.pathname) || url.pathname.endsWith('thumbnail') || url.pathname.startsWith('/api/v1/extension/icon/')) { + if ( + ASSETS.includes(url.pathname) || + url.pathname.endsWith('thumbnail') || + url.pathname.startsWith('/api/v1/extension/icon/') + ) { const cachedResponse = await cache.match(event.request); if (cachedResponse) { return cachedResponse; From a79dd7a62f710603d23028824fd151f45c2e6244 Mon Sep 17 00:00:00 2001 From: robonau <30987265+Robonau@users.noreply.github.com> Date: Tue, 19 Dec 2023 16:20:13 +0000 Subject: [PATCH 2/2] woops --- src/routes/(app)/manga/[MangaID]/(manga)/MangaActions.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/(app)/manga/[MangaID]/(manga)/MangaActions.svelte b/src/routes/(app)/manga/[MangaID]/(manga)/MangaActions.svelte index c797f9f9..ae24b75e 100644 --- a/src/routes/(app)/manga/[MangaID]/(manga)/MangaActions.svelte +++ b/src/routes/(app)/manga/[MangaID]/(manga)/MangaActions.svelte @@ -13,7 +13,7 @@ import { getModalStore } from '@skeletonlabs/skeleton'; export let manga: GetMangaQuery['manga']; - export let fetchchapters: () => Promise; + export let fetchChapters: () => Promise; const modalStore = getModalStore(); @@ -21,7 +21,7 @@ async function refreshManga() { loading = true; - await fetchchapters(); + await fetchChapters(); loading = false; }