web: fetch only the fields the association and venue listings show
This commit is contained in:
9 files changed
+89
-35
No files matched your search
@@ -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;
|
||||
}) => {
|
||||
|
||||
Reference in new issue
Block a user