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

Add leaderboard page #654

Merged
merged 16 commits into from
May 7, 2024
Merged

Add leaderboard page #654

merged 16 commits into from
May 7, 2024

Conversation

samchuk-vlad
Copy link
Member

No description provided.

@samchuk-vlad samchuk-vlad requested a review from olehmell May 1, 2024 12:30
}
}

export const getStaticProps = getCommonStaticProps<
Copy link
Contributor

Choose a reason for hiding this comment

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

@teodorus-nathaniel can you check it, is it make sense use StaticProps for dynamic URLs?

or better use just server render?

src/components/layouts/Sidebar.tsx Outdated Show resolved Hide resolved
src/components/leaderboard/GlobalStats/index.tsx Outdated Show resolved Hide resolved
src/components/leaderboard/LeaderboardContext.tsx Outdated Show resolved Hide resolved
src/components/leaderboard/LeaderboardRadioGroup.tsx Outdated Show resolved Hide resolved
)
}

export const formatDate = (date: dayjs.ConfigType | BN, format = 'lll') => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we have the function already somewhere

@samchuk-vlad samchuk-vlad merged commit 32e7e2c into main May 7, 2024
1 check 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.

2 participants