Merge pull request #282 from blockworks-foundation/load-profile-json-leaderboard
load profile.json on leaderboard page
This commit is contained in:
commit
c940bcad29
|
@ -9,7 +9,7 @@ import { useTranslation } from 'next-i18next'
|
|||
export async function getStaticProps({ locale }) {
|
||||
return {
|
||||
props: {
|
||||
...(await serverSideTranslations(locale, ['common'])),
|
||||
...(await serverSideTranslations(locale, ['common', 'profile'])),
|
||||
// Will be passed to the page component as props
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue