Merge pull request #282 from blockworks-foundation/load-profile-json-leaderboard

load profile.json on leaderboard page
This commit is contained in:
tjshipe 2022-05-19 12:57:01 -04:00 committed by GitHub
commit c940bcad29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
},
}