web: fetch only the fields the association and venue listings show
dnscms / ci (push) Successful in 1m11s
web / ci (push) Successful in 2m35s

This commit is contained in:
ponas committed 2026-10-15 01:03:42 +02:00
1 parent 12d34e2cb1
commit 8b3150a196
9 files changed
+89 -35

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
import { VenueFragment } from "@/gql/graphql";
import { VenueListItemFragment } from "@/gql/graphql";
import styles from "./venueItem.module.scss";
import Link from "next/link";
import { Image } from "@/components/general/Image";
@@ -7,7 +7,7 @@ export const VenueItem = ({
venue,
priority,
}: {
venue: VenueFragment;
venue: VenueListItemFragment;
// above the fold: load the image right away
priority?: boolean;
}) => {