18 lines
416 B
TypeScript
18 lines
416 B
TypeScript
|
import StatsPage from '@components/stats/StatsPage'
|
||
|
import type { NextPage } from 'next'
|
||
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
||
|
|
||
|
export async function getStaticProps({ locale }: { locale: string }) {
|
||
|
return {
|
||
|
props: {
|
||
|
...(await serverSideTranslations(locale, ['common'])),
|
||
|
},
|
||
|
}
|
||
|
}
|
||
|
|
||
|
const Stats: NextPage = () => {
|
||
|
return <StatsPage />
|
||
|
}
|
||
|
|
||
|
export default Stats
|