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-09-20 22:31:54 -07:00
|
|
|
...(await serverSideTranslations(locale, ['common', 'profile'])),
|
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
|