refactor(events): update event organizer details to use host data from api #427
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to the
rogue-thi-app
project, focusing on updating event host information and removing redundant data. The most important changes include updating the event host details in various components and removing theclubs.json
data file.Updates to event host details:
rogue-thi-app/components/cards/EventsCard.jsx
: Modified the event card to display the host's name and other details conditionally.rogue-thi-app/lib/backend/neuland-api.js
: Updated the GraphQL query to fetch host details (name, website, and Instagram) instead of the organizer.rogue-thi-app/pages/events.jsx
: Removed references toclubs.json
and updated the code to use the host details directly from the event data. [1] [2] [3] [4]Removal of redundant data:
rogue-thi-app/data/clubs.json
: Deleted theclubs.json
file as it is no longer needed.