mango-v4-ui/pages/stats.tsx

23 lines
491 B
TypeScript
Raw Normal View History

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, [
'common',
'onboarding',
'profile',
'token',
])),
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