Files
tom goriunovandGitHub 25a4c2a97e Replace OP Superchain feature with generic Multichain explorer (#3299)
* rename feature

* rename evn preset

* types, mocks and stubs renaming

* rename UI components
2026-02-25 18:02:52 +01:00

28 lines
601 B
TypeScript

import type { NextPage } from 'next';
import dynamic from 'next/dynamic';
import React from 'react';
import PageNextJs from 'nextjs/PageNextJs';
import config from 'configs/app';
const Blocks = dynamic(() => {
if (config.features.multichain.isEnabled) {
return import('ui/multichain/blocks/MultichainBlocks');
}
return import('ui/pages/Blocks');
}, { ssr: false });
const Page: NextPage = () => {
return (
<PageNextJs pathname="/blocks">
<Blocks/>
</PageNextJs>
);
};
export default Page;
export { base as getServerSideProps } from 'nextjs/getServerSideProps/main';