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
21 lines
532 B
TypeScript
21 lines
532 B
TypeScript
import type { NextPage } from 'next';
|
|
import React from 'react';
|
|
|
|
import PageNextJs from 'nextjs/PageNextJs';
|
|
|
|
import config from 'configs/app';
|
|
import MultichainStats from 'ui/multichain/stats/MultichainStats';
|
|
import Stats from 'ui/pages/Stats';
|
|
|
|
const Page: NextPage = () => {
|
|
return (
|
|
<PageNextJs pathname="/stats">
|
|
{ config.features.multichain.isEnabled ? <MultichainStats/> : <Stats/> }
|
|
</PageNextJs>
|
|
);
|
|
};
|
|
|
|
export default Page;
|
|
|
|
export { stats as getServerSideProps } from 'nextjs/getServerSideProps/main';
|