2022-10-08 04:37:08 -07:00
|
|
|
import StatsPage from '@components/stats/StatsPage'
|
2022-08-23 15:33:09 -07:00
|
|
|
import type { NextPage } from 'next'
|
|
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
|
|
|
|
|
|
|
export async function getStaticProps({ locale }: { locale: string }) {
|
|
|
|
return {
|
|
|
|
props: {
|
2022-11-12 02:26:43 -08:00
|
|
|
...(await serverSideTranslations(locale, [
|
2023-04-27 05:11:20 -07:00
|
|
|
'activity',
|
2022-11-12 02:26:43 -08:00
|
|
|
'common',
|
2023-04-21 07:23:27 -07:00
|
|
|
'notifications',
|
2022-11-12 02:26:43 -08:00
|
|
|
'onboarding',
|
|
|
|
'profile',
|
2023-01-10 18:46:18 -08:00
|
|
|
'search',
|
2022-12-16 03:26:42 -08:00
|
|
|
'settings',
|
2023-05-02 18:00:32 -07:00
|
|
|
'stats',
|
2022-11-12 02:26:43 -08:00
|
|
|
'token',
|
2022-12-14 03:01:15 -08:00
|
|
|
'trade',
|
2022-11-12 02:26:43 -08:00
|
|
|
])),
|
2022-08-23 15:33:09 -07:00
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const Stats: NextPage = () => {
|
2022-10-08 04:37:08 -07:00
|
|
|
return <StatsPage />
|
2022-08-23 15:33:09 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
export default Stats
|