mirror of
https://github.com/luxfi/explore.git
synced 2026-11-03 07:53:34 +00:00
21 lines
601 B
TypeScript
21 lines
601 B
TypeScript
import type { NextPage } from 'next';
|
|
import dynamic from 'next/dynamic';
|
|
import React from 'react';
|
|
|
|
import type { Props } from 'nextjs/getServerSideProps/handlers';
|
|
import PageNextJs from 'nextjs/PageNextJs';
|
|
|
|
const MultichainTx = dynamic(() => import('ui/multichain/tx/MultichainTx'), { ssr: false });
|
|
|
|
const Page: NextPage<Props> = (props: Props) => {
|
|
return (
|
|
<PageNextJs pathname="/chain/[chain_slug]/tx/[hash]" query={ props.query }>
|
|
<MultichainTx/>
|
|
</PageNextJs>
|
|
);
|
|
};
|
|
|
|
export default Page;
|
|
|
|
export { base as getServerSideProps } from 'nextjs/getServerSideProps/multichain';
|