mango-v4-ui/pages/stats.tsx

26 lines
546 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',
'onboarding',
'profile',
'search',
'settings',
'token',
'trade',
])),
},
}
}
const Stats: NextPage = () => {
return <StatsPage />
}
export default Stats