From d0ba914d2b15a9bda9742f9397368cd651e81284 Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 1 Mar 2022 11:57:23 -0800 Subject: [PATCH] fix(explorer): rollback ping until api is more stable (#23419) --- explorer/src/pages/ClusterStatsPage.tsx | 3 +-- explorer/src/providers/stats/index.tsx | 7 +------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/explorer/src/pages/ClusterStatsPage.tsx b/explorer/src/pages/ClusterStatsPage.tsx index 99ddb6eecb..1dac420900 100644 --- a/explorer/src/pages/ClusterStatsPage.tsx +++ b/explorer/src/pages/ClusterStatsPage.tsx @@ -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() { - + {/* */} ); } diff --git a/explorer/src/providers/stats/index.tsx b/explorer/src/providers/stats/index.tsx index 53fe3f853d..56e20c9980 100644 --- a/explorer/src/providers/stats/index.tsx +++ b/explorer/src/providers/stats/index.tsx @@ -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 ( - - {children} - - ); + return {children}; }