explorer: Only show supply page for custom urls (#29273)
only show supply page for custom urls
This commit is contained in:
parent
3a7b67ea55
commit
119b7332f0
|
@ -1,12 +1,14 @@
|
|||
import React from "react";
|
||||
import { TopAccountsCard } from "components/TopAccountsCard";
|
||||
import { SupplyCard } from "components/SupplyCard";
|
||||
import { Cluster, useCluster } from "providers/cluster";
|
||||
|
||||
export function SupplyPage() {
|
||||
const cluster = useCluster();
|
||||
return (
|
||||
<div className="container mt-4">
|
||||
<SupplyCard />
|
||||
<TopAccountsCard />
|
||||
{cluster.cluster === Cluster.Custom ? <TopAccountsCard /> : null}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue