From b2ad4c53eada494a5ebfeee48262b63bdf714678 Mon Sep 17 00:00:00 2001
From: satyakwok <119509589+satyakwok@users.noreply.github.com>
Date: Thu, 25 Jun 2026 13:13:48 +0200
Subject: [PATCH] fix(scan): drop node uptime from the live ticker
uptime_seconds is the serving node's process uptime since its last restart,
not chain or network uptime, and no major explorer surfaces it (Etherscan,
Solscan show price/market/tx/block stats, validator uptime lives on the
validators page). On a restart-heavy testnet it just looked wrong. Removed
the ticker item and the now-unused status prop and useChainStatus wiring.
---
apps/scan/app/[locale]/HomeContent.tsx | 5 ++---
apps/scan/components/home/LiveTicker.tsx | 15 ++-------------
2 files changed, 4 insertions(+), 16 deletions(-)
diff --git a/apps/scan/app/[locale]/HomeContent.tsx b/apps/scan/app/[locale]/HomeContent.tsx
index 309ce6b..20da290 100644
--- a/apps/scan/app/[locale]/HomeContent.tsx
+++ b/apps/scan/app/[locale]/HomeContent.tsx
@@ -21,7 +21,7 @@ import { LiveTicker } from "@/components/home/LiveTicker";
import { TxChart14d } from "@/components/home/TxChart14d";
import { FreshnessChip } from "@/components/common/FreshnessChip";
import { useNetwork, useNetworkFromQuery } from "@/lib/network-context";
-import { useStats, useBlocks, useTransactions, useChainPerformance, useMempool, useCurrentEpoch, useChainStatus } from "@/lib/hooks";
+import { useStats, useBlocks, useTransactions, useChainPerformance, useMempool, useCurrentEpoch } from "@/lib/hooks";
import { useLatestBlock, useLatestFinalized } from "@/lib/ws";
import { formatNumber, formatSRX, toMillis } from "@/lib/format";
import { validateAndResolveSearch } from "@/lib/search-validate";
@@ -122,7 +122,6 @@ export function HomeContent({ initial }: { initial: HomeBundle }) {
const { data: performance, loading: perfLoading } = useChainPerformance(network, perfRange, initial.performance);
const { data: mempool } = useMempool(network, initial.mempool);
const { data: epoch } = useCurrentEpoch(network, initial.epoch);
- const { data: chainStatus } = useChainStatus(network, initial.status);
const latestPerf = performance?.points?.[performance.points.length - 1];
// Show the actual recent block cadence from the latest blocks. The
@@ -262,7 +261,7 @@ export function HomeContent({ initial }: { initial: HomeBundle }) {
return (
<>
-