fix(explorer): rollback ping until api is more stable (#23419)
This commit is contained in:
parent
7943e8a1c3
commit
d0ba914d2b
|
@ -18,7 +18,6 @@ import { useVoteAccounts } from "providers/accounts/vote-accounts";
|
|||
import { CoingeckoStatus, useCoinGecko } from "utils/coingecko";
|
||||
import { Epoch } from "components/common/Epoch";
|
||||
import { TimestampToggle } from "components/common/TimestampToggle";
|
||||
import { SolanaPingCard } from "components/SolanaPingCard";
|
||||
|
||||
const CLUSTER_STATS_TIMEOUT = 5000;
|
||||
|
||||
|
@ -37,7 +36,7 @@ export function ClusterStatsPage() {
|
|||
<StatsCardBody />
|
||||
</div>
|
||||
<TpsCard />
|
||||
<SolanaPingCard />
|
||||
{/* <SolanaPingCard /> */}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
import { SolanaPingProvider } from "providers/stats/SolanaPingProvider";
|
||||
import React from "react";
|
||||
import { SolanaClusterStatsProvider } from "./solanaClusterStats";
|
||||
|
||||
type Props = { children: React.ReactNode };
|
||||
export function StatsProvider({ children }: Props) {
|
||||
return (
|
||||
<SolanaClusterStatsProvider>
|
||||
<SolanaPingProvider>{children}</SolanaPingProvider>
|
||||
</SolanaClusterStatsProvider>
|
||||
);
|
||||
return <SolanaClusterStatsProvider>{children}</SolanaClusterStatsProvider>;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue