Skip to content

Commit

Permalink
fix: query mutate query
Browse files Browse the repository at this point in the history
  • Loading branch information
rayriffy committed Jan 5, 2024
1 parent 9462622 commit e08b3e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/modules/listing/components/Listing.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
? `/tag/${tagKey}/`
: '/'
const listing = api.hentai.search.query({
$: listing = api.hentai.search.query({
mode: section,
query: section === 'tag' ? tagKey : $search[section].query,
excludeTags: $settings.filteredTags ?? [],
Expand Down
4 changes: 1 addition & 3 deletions src/routes/g/[code]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
import { getImageUrl } from '$core/services/getImageUrl'
import type { PageData } from './$types'
import { api } from '$trpc/client'
const query = api.hentai.get.query({
$: query = api.hentai.get.query({
code: $page.params.code,
})
</script>
Expand Down

0 comments on commit e08b3e3

Please sign in to comment.