mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-23 06:35:05 +01:00
18 lines
431 B
TypeScript
18 lines
431 B
TypeScript
|
import React from 'react';
|
||
|
import { GridWrapper } from 'src/components/gridWrapper/GridWrapper';
|
||
|
import { NextPageContext } from 'next';
|
||
|
import { getProps } from 'src/utils/ssr';
|
||
|
import { SwapView } from 'src/views/swap';
|
||
|
|
||
|
const Wrapped = () => (
|
||
|
<GridWrapper>
|
||
|
<SwapView />
|
||
|
</GridWrapper>
|
||
|
);
|
||
|
|
||
|
export default Wrapped;
|
||
|
|
||
|
export async function getServerSideProps(context: NextPageContext) {
|
||
|
return await getProps(context);
|
||
|
}
|