Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Robonau authored and Robonau committed Oct 29, 2024
1 parent fa72fa6 commit 06869a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
return untrack(
() =>
queryState({
client: getContextClient(),
client,
query: getSource,
variables: {
id: data.sourceID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
import TriStateSlide from '$lib/components/TriStateSlide.svelte';
import { CategoryTypeFragment } from '$lib/gql/Fragments';
import { updateMangaCategories } from '$lib/gql/Mutations';
import {
getCategories as GetCategories,
type getManga
} from '$lib/gql/Queries';
import { getCategories as GetCategories } from '$lib/gql/Queries';
import { ErrorHelp, queryState } from '$lib/util.svelte';
import { getModalStore } from '@skeletonlabs/skeleton';
import { getContextClient } from '@urql/svelte';
Expand Down Expand Up @@ -59,7 +56,7 @@
'Failed to change mangas categories',
client
.mutation(updateMangaCategories, {
id: manga.value?.data?.manga.id!,
id: manga.value!.data!.manga.id!,
addTo: selectedCategories,
clear: true
})
Expand Down
2 changes: 0 additions & 2 deletions src/routes/(app)/manga/[MangaID]/(manga)/NotesModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
import { mmState } from '$lib/simpleStores.svelte';
import ModalTemplate from '$lib/components/ModalTemplate.svelte';
const modalStore = getModalStore();
mmState.value.notes;
</script>

{#if $modalStore[0]}
Expand Down

0 comments on commit 06869a5

Please sign in to comment.