Skip to content
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

feat: create new events page #1014

Merged
merged 2 commits into from
Mar 1, 2024
Merged

feat: create new events page #1014

merged 2 commits into from
Mar 1, 2024

Conversation

shelegdmitriy
Copy link
Contributor

Closes #414

@shelegdmitriy shelegdmitriy added the enhancement To highlight a PR's description in the 'Enhancements' changelog section label Feb 28, 2024
@shelegdmitriy shelegdmitriy self-assigned this Feb 28, 2024
Copy link

vercel bot commented Feb 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
near-discovery ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 1, 2024 4:13pm
near-discovery-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 1, 2024 4:13pm

@shelegdmitriy shelegdmitriy marked this pull request as ready for review March 1, 2024 16:08
};

export const fetchEventsList = async (limit: number, offset: number): Promise<EventsListData> => {
const queryLimit = `pagination_limit=${limit ?? 10}`;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far we'll show 10 events on the page. If there is more than 10 - there will be a link to view all events. I think it's fine for MVP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement To highlight a PR's description in the 'Enhancements' changelog section
Projects
None yet
Development

Successfully merging this pull request may close these issues.

near.org Events
2 participants