mango-v4-ui/pages/swap.tsx

22 lines
491 B
TypeScript

import type { NextPage } from 'next'
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
import SwapPage from '../components/swap/SwapPage'
export async function getStaticProps({ locale }: { locale: string }) {
return {
props: {
...(await serverSideTranslations(locale, ['common', 'profile', 'swap'])),
},
}
}
const Swap: NextPage = () => {
return (
<div className="pb-20 md:pb-16">
<SwapPage />
</div>
)
}
export default Swap