mango-v4-ui/pages/governance/vote.tsx

30 lines
673 B
TypeScript
Raw Normal View History

import type { NextPage } from 'next'
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
import dynamic from 'next/dynamic'
const VotePage = dynamic(() => import('@components/governance/Vote/VotePage'))
export async function getStaticProps({ locale }: { locale: string }) {
return {
props: {
...(await serverSideTranslations(locale, [
'account',
2023-12-02 03:55:19 -08:00
'close-account',
'common',
'governance',
'notifications',
'onboarding',
'profile',
'search',
'settings',
])),
},
}
}
const ListToken: NextPage = () => {
return <VotePage />
}
export default ListToken