mirror of
https://github.com/hanzonet/explore.git
synced 2026-10-30 18:16:57 +00:00
20 lines
477 B
TypeScript
20 lines
477 B
TypeScript
import type { NextPage } from 'next';
|
|
import dynamic from 'next/dynamic';
|
|
import React from 'react';
|
|
|
|
import PageNextJs from 'nextjs/PageNextJs';
|
|
|
|
const RewardsDashboard = dynamic(() => import('ui/pages/RewardsDashboard'), { ssr: false });
|
|
|
|
const Page: NextPage = () => {
|
|
return (
|
|
<PageNextJs pathname="/account/merits">
|
|
<RewardsDashboard/>
|
|
</PageNextJs>
|
|
);
|
|
};
|
|
|
|
export default Page;
|
|
|
|
export { account as getServerSideProps } from 'nextjs/getServerSideProps';
|