2022-04-12 13:48:22 -07:00
|
|
|
import type { NextPage } from 'next'
|
2022-07-14 16:36:31 -07:00
|
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
2022-09-01 10:33:29 -07:00
|
|
|
import AccountPage from '../components/account/AccountPage'
|
2022-08-10 23:23:18 -07:00
|
|
|
|
2022-07-14 16:36:31 -07:00
|
|
|
export async function getStaticProps({ locale }: { locale: string }) {
|
|
|
|
return {
|
|
|
|
props: {
|
2022-08-24 05:29:20 -07:00
|
|
|
...(await serverSideTranslations(locale, [
|
|
|
|
'common',
|
|
|
|
'close-account',
|
|
|
|
'trade',
|
|
|
|
])),
|
2022-07-14 16:36:31 -07:00
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
2022-04-12 13:48:22 -07:00
|
|
|
|
2022-07-14 16:36:31 -07:00
|
|
|
const Index: NextPage = () => {
|
2022-09-01 10:33:29 -07:00
|
|
|
return <AccountPage />
|
2022-04-12 13:48:22 -07:00
|
|
|
}
|
|
|
|
|
2022-05-31 18:41:18 -07:00
|
|
|
export default Index
|