mirror of
https://github.com/hanzonet/explore.git
synced 2026-10-30 18:16:57 +00:00
21 lines
534 B
TypeScript
21 lines
534 B
TypeScript
import type { NextPage } from 'next';
|
|
import dynamic from 'next/dynamic';
|
|
import React from 'react';
|
|
|
|
import type { Props } from 'nextjs/getServerSideProps';
|
|
import PageNextJs from 'nextjs/PageNextJs';
|
|
|
|
const Pool = dynamic(() => import('ui/pages/Pool'), { ssr: false });
|
|
|
|
const Page: NextPage<Props> = (props: Props) => {
|
|
return (
|
|
<PageNextJs pathname="/pools/[hash]" query={ props.query }>
|
|
<Pool/>
|
|
</PageNextJs>
|
|
);
|
|
};
|
|
|
|
export default Page;
|
|
|
|
export { pools as getServerSideProps } from 'nextjs/getServerSideProps';
|