22 lines
485 B
TypeScript
22 lines
485 B
TypeScript
import type { NextPage } from 'next'
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
|
import AccountPage from '../components/account/AccountPage'
|
|
|
|
export async function getStaticProps({ locale }: { locale: string }) {
|
|
return {
|
|
props: {
|
|
...(await serverSideTranslations(locale, [
|
|
'common',
|
|
'close-account',
|
|
'trade',
|
|
])),
|
|
},
|
|
}
|
|
}
|
|
|
|
const Index: NextPage = () => {
|
|
return <AccountPage />
|
|
}
|
|
|
|
export default Index
|