18 lines
439 B
TypeScript
18 lines
439 B
TypeScript
import type { NextPage } from 'next'
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
|
import TradeSimplePage from '../components/TradeSimplePage'
|
|
|
|
export async function getStaticProps({ locale }: { locale: string }) {
|
|
return {
|
|
props: {
|
|
...(await serverSideTranslations(locale, ['common', 'trade'])),
|
|
},
|
|
}
|
|
}
|
|
|
|
const Trade: NextPage = () => {
|
|
return <TradeSimplePage />
|
|
}
|
|
|
|
export default Trade
|