From 26c4162f506ac82afb92e41e2f6b9c9875b19067 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Thu, 16 Apr 2026 00:08:29 +0800 Subject: [PATCH] Simplify detail panel by removing snapshot copy and scenery --- frontend/components/dashboard/DetailPanel.tsx | 52 +------------------ 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/frontend/components/dashboard/DetailPanel.tsx b/frontend/components/dashboard/DetailPanel.tsx index 5d6e97dc..9544ebb3 100644 --- a/frontend/components/dashboard/DetailPanel.tsx +++ b/frontend/components/dashboard/DetailPanel.tsx @@ -9,7 +9,6 @@ import { useChart } from "@/hooks/useChart"; import { useDashboardStore } from "@/hooks/useDashboardStore"; import { useI18n } from "@/hooks/useI18n"; import { getOfficialSourceLinks } from "@/lib/dashboard-official-sources"; -import { getCityScenery } from "@/lib/dashboard-scenery"; import { CityDetail } from "@/lib/dashboard-types"; import { trackAppEvent } from "@/lib/app-analytics"; import { getTodayPolymarketUrl } from "@/lib/polymarket-market-links"; @@ -181,7 +180,6 @@ export function DetailPanel() { () => getTodayPolymarketUrl(detail, locale), [detail, locale], ); - const scenery = getCityScenery(detail?.name); const weatherSummary = detail ? getWeatherSummary(detail, locale) : { weatherIcon: "", weatherText: "" }; @@ -335,7 +333,7 @@ export function DetailPanel() { > × -