web: remove redundant on self wrapping in queries and add typename

This commit is contained in:
2026-05-19 17:41:51 +02:00
parent 0c5a9876d6
commit f91c67f526
6 changed files with 42 additions and 48 deletions
+11 -12
View File
@@ -6,18 +6,17 @@ import { SponsorList } from "@/components/sponsor/SponsorList";
const SponsorsPageFragmentDefinition = graphql(`
fragment SponsorsPage on SponsorsPage {
... on SponsorsPage {
title
seoTitle
searchDescription
lead
body {
...Blocks
}
sponsors {
... on SponsorBlock {
...Sponsor
}
__typename
title
seoTitle
searchDescription
lead
body {
...Blocks
}
sponsors {
... on SponsorBlock {
...Sponsor
}
}
}