Skip to content

Datewise Events Sorting #16

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

Merged
merged 3 commits into from
Jul 1, 2025
Merged

Datewise Events Sorting #16

merged 3 commits into from
Jul 1, 2025

Conversation

Aritra203
Copy link
Collaborator

This pull request introduces a change to the EventsPage component in app/Events/page.tsx to ensure events are displayed in chronological order. The most important change is the addition of a sorting mechanism for event data fetched from the sanity API.

Enhancements to event data handling:

  • app/Events/page.tsx: Updated the useEffect hook to sort the fetched events by date, arranging them from oldest to newest before setting them in the state. This ensures a consistent and logical order for event display.

Copy link

vercel bot commented Jul 1, 2025

@Aritra203 is attempting to deploy a commit to the codingjunction's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

netlify bot commented Jul 1, 2025

Deploy Preview for coding-junctionuit ready!

Name Link
🔨 Latest commit 2418956
🔍 Latest deploy log https://app.netlify.com/projects/coding-junctionuit/deploys/68640bb6aa6d54000898d8b9
😎 Deploy Preview https://deploy-preview-16--coding-junctionuit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Aritra203 Aritra203 merged commit 5ff3ac9 into coding-junction:main Jul 1, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant