mango-v4-ui/pages/trade.tsx

18 lines
444 B
TypeScript
Raw Normal View History

2022-07-14 16:36:31 -07:00
import type { NextPage } from 'next'
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
2022-09-01 10:33:29 -07:00
import TradeSimplePage from '../components/swap/TradeSimplePage'
2022-07-14 16:36:31 -07:00
export async function getStaticProps({ locale }: { locale: string }) {
return {
props: {
2022-07-18 03:02:43 -07:00
...(await serverSideTranslations(locale, ['common', 'trade'])),
2022-07-14 16:36:31 -07:00
},
}
}
2022-07-18 20:58:21 -07:00
const Trade: NextPage = () => {
2022-07-15 04:09:23 -07:00
return <TradeSimplePage />
2022-07-14 16:36:31 -07:00
}
2022-07-18 20:58:21 -07:00
export default Trade