mango-v4-ui/pages/stats.tsx

26 lines
546 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',
2023-01-10 18:46:18 -08:00
'search',
2022-12-16 03:26:42 -08:00
'settings',
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