mango-v4-ui/pages/index.tsx

27 lines
563 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',
2022-09-20 22:31:54 -07:00
'profile',
'swap',
])),
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-13 23:24:26 -07:00
return (
2022-09-19 03:43:38 -07:00
<div className="pb-20 md:pb-16">
2022-09-13 23:24:26 -07:00
<AccountPage />
</div>
)
2022-04-12 13:48:22 -07:00
}
export default Index