add translations to dashboard

This commit is contained in:
tjs 2022-12-19 20:47:15 -05:00
parent dec8009263
commit 899617091a
1 changed files with 8 additions and 1 deletions

View File

@ -18,7 +18,14 @@ import MarketLogos from '@components/trade/MarketLogos'
export async function getStaticProps({ locale }: { locale: string }) {
return {
props: {
...(await serverSideTranslations(locale, ['common, profile, settings'])),
...(await serverSideTranslations(locale, [
'common',
'onboarding',
'profile',
'settings',
'token',
'trade',
])),
},
}
}