diff --git a/src/routes/(app)/(library)/+page.svelte b/src/routes/(app)/(library)/+page.svelte index 1a48eb2..072b401 100644 --- a/src/routes/(app)/(library)/+page.svelte +++ b/src/routes/(app)/(library)/+page.svelte @@ -244,12 +244,9 @@ } if (!reloadManga) return; reloadManga = false; - queryState({ - client, - query: getCategory, - variables: { id: $tab ?? 0 }, - requestPolicy: 'network-only' - }); + client + .query(getCategory, { id: $tab ?? 0 }, { requestPolicy: 'network-only' }) + .toPromise(); } onMount(() => {