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

37 lines
821 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 Transactions = dynamic(() => {
if (config.features.multichain.isEnabled) {
return import('ui/multichain/txs/MultichainTxs');
}
if (config.features.zetachain.isEnabled) {
return import('ui/pages/TransactionsZetaChain');
}
if (config.features.crossChainTxs.isEnabled) {
return import('ui/crossChain/txs/Transactions');
}
return import('ui/pages/Transactions');
}, { ssr: false });
const Page: NextPage = () => {
return (
<PageNextJs pathname="/txs">
<Transactions/>
</PageNextJs>
);
};
export default Page;
export { base as getServerSideProps } from 'nextjs/getServerSideProps/main';