From 13a3935022aa5f65857b07b6a13dbc022b696b04 Mon Sep 17 00:00:00 2001 From: Matthieu Auger Date: Thu, 16 Jun 2022 17:43:23 +0200 Subject: [PATCH] Remove buggy venue --- .../gatsby-theme-meetup/gatsby-node.js | 5 ----- .../src/components/Meetup/Meetup.component.js | 12 ------------ .../gatsby-theme-meetup/src/pages/index.js | 10 ---------- .../src/templates/meetup-list-template.js | 5 ----- 4 files changed, 32 deletions(-) diff --git a/packages/@matthieuauger/gatsby-theme-meetup/gatsby-node.js b/packages/@matthieuauger/gatsby-theme-meetup/gatsby-node.js index 9899481..00bd682 100644 --- a/packages/@matthieuauger/gatsby-theme-meetup/gatsby-node.js +++ b/packages/@matthieuauger/gatsby-theme-meetup/gatsby-node.js @@ -14,11 +14,6 @@ exports.createPages = async ({ graphql, actions, reporter }) => { name description local_date - venue { - name - address_1 - city - } link status } diff --git a/packages/@matthieuauger/gatsby-theme-meetup/src/components/Meetup/Meetup.component.js b/packages/@matthieuauger/gatsby-theme-meetup/src/components/Meetup/Meetup.component.js index 6822897..01cb3b0 100644 --- a/packages/@matthieuauger/gatsby-theme-meetup/src/components/Meetup/Meetup.component.js +++ b/packages/@matthieuauger/gatsby-theme-meetup/src/components/Meetup/Meetup.component.js @@ -28,13 +28,6 @@ const Meetup = ({ {dayjs(meetupInfo.local_date).format(dateFormat)} -
-
- {meetupInfo.venue !== null && meetupInfo.venue.name} -
-
{meetupInfo.venue !== null && meetupInfo.venue.address_1}
-
{meetupInfo.venue !== null && meetupInfo.venue.city}
-