mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
On a Zoo, Hanzo, Pars, SPC or Osage host the validators page listed every L1 in the registry, and /dex rendered the Lux D-Chain markets. The network total now sums every L1 only on the Lux primary-network explorer, and /dex answers 404 anywhere else. isPrimaryNetworkHost() is the same predicate as isPrimaryNetworkExplorer(), taking the host from the request. Co-authored-by: Hanzo Dev <[email protected]>
19 lines
367 B
TypeScript
19 lines
367 B
TypeScript
import type { NextPage } from 'next';
|
|
import React from 'react';
|
|
|
|
import PageNextJs from 'nextjs/PageNextJs';
|
|
|
|
import DexPage from 'ui/dex/DexPage';
|
|
|
|
const Page: NextPage = () => {
|
|
return (
|
|
<PageNextJs pathname="/dex">
|
|
<DexPage/>
|
|
</PageNextJs>
|
|
);
|
|
};
|
|
|
|
export default Page;
|
|
|
|
export { dex as getServerSideProps } from 'nextjs/getServerSideProps/main';
|