-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
242 create intentional sorting on the events page #352
242 create intentional sorting on the events page #352
Conversation
…ministries into 242-create-intentional-sorting-on-the-events-page
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixes for build
src/views/EventsView/index.tsx
Outdated
let upcomingEvents: EventResponse[]; | ||
let pastEvents: EventResponse[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use const
. instead of declaring the variables up here, just declare them where you give them a value below, ie const upcomingEvents = sortEventsByDateAsc(eventsTodayAndAfter)
on line 46
Description
Relevant issue(s)
#242
Questions
Type of change
Checklist: