mango-v4-ui/pages/index.tsx

22 lines
485 B
TypeScript
Raw Normal View History

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: {
...(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
}
export default Index