mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* rename feature * rename evn preset * types, mocks and stubs renaming * rename UI components
28 lines
606 B
TypeScript
28 lines
606 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 UserOps = dynamic(() => {
|
|
if (config.features.multichain.isEnabled) {
|
|
return import('ui/multichain/userOps/MultichainUserOps');
|
|
}
|
|
|
|
return import('ui/pages/UserOps');
|
|
}, { ssr: false });
|
|
|
|
const Page: NextPage = () => {
|
|
return (
|
|
<PageNextJs pathname="/ops">
|
|
<UserOps/>
|
|
</PageNextJs>
|
|
);
|
|
};
|
|
|
|
export default Page;
|
|
|
|
export { userOps as getServerSideProps } from 'nextjs/getServerSideProps/main';
|