Skip to content

Commit

Permalink
Remove buggy venue
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieuauger committed Jun 16, 2022
1 parent 71b98aa commit 13a3935
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 32 deletions.
5 changes: 0 additions & 5 deletions packages/@matthieuauger/gatsby-theme-meetup/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ exports.createPages = async ({ graphql, actions, reporter }) => {
name
description
local_date
venue {
name
address_1
city
}
link
status
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ const Meetup = ({
{dayjs(meetupInfo.local_date).format(dateFormat)}
</div>
</div>
<div className="meetup-informations-basic-place">
<div className="meetup-informations-basic-highlight">
{meetupInfo.venue !== null && meetupInfo.venue.name}
</div>
<div>{meetupInfo.venue !== null && meetupInfo.venue.address_1}</div>
<div>{meetupInfo.venue !== null && meetupInfo.venue.city}</div>
</div>
</div>
<div
className="meetup-informations-talks"
Expand Down Expand Up @@ -71,11 +64,6 @@ Meetup.propTypes = {
description: PropTypes.string.isRequired,
link: PropTypes.string.isRequired,
local_date: PropTypes.string.isRequired,
venue: PropTypes.shape({
name: PropTypes.string.isRequired,
address_1: PropTypes.string.isRequired,
city: PropTypes.string.isRequired,
}).isRequired,
}).isRequired,
}

Expand Down
10 changes: 0 additions & 10 deletions packages/@matthieuauger/gatsby-theme-meetup/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ export const query = graphql`
name
description
local_date
venue {
name
address_1
city
}
link
status
}
Expand All @@ -124,11 +119,6 @@ export const query = graphql`
name
description
local_date
venue {
name
address_1
city
}
link
status
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ export const query = graphql`
name
description
local_date
venue {
name
address_1
city
}
link
status
}
Expand Down

0 comments on commit 13a3935

Please sign in to comment.