-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add leaderboard page #654
Conversation
} | ||
} | ||
|
||
export const getStaticProps = getCommonStaticProps< |
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.
@teodorus-nathaniel can you check it, is it make sense use StaticProps for dynamic URLs?
or better use just server render?
src/components/leaderboard/MyStats/LeaderboardProfilePreview.tsx
Outdated
Show resolved
Hide resolved
) | ||
} | ||
|
||
export const formatDate = (date: dayjs.ConfigType | BN, format = 'lll') => { |
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.
I guess we have the function already somewhere
No description provided.