From 426bd7deab6f1bc4f96603567aeb29692a8c696b Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Mon, 18 May 2026 19:06:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=9F=8E=E5=B8=82=E5=86=B3?= =?UTF-8?q?=E7=AD=96=E5=8D=A1=20Pro=20=E9=97=A8=E7=A6=81=EF=BC=9A=E6=B8=B8?= =?UTF-8?q?=E5=AE=A2=E5=92=8C=E5=85=8D=E8=B4=B9=E7=94=A8=E6=88=B7=E7=82=B9?= =?UTF-8?q?=E5=87=BB=20Today=20=E5=BC=95=E5=AF=BC=E8=87=B3=E8=B4=A6?= =?UTF-8?q?=E6=88=B7=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/components/dashboard/DetailPanel.tsx | 22 ++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/frontend/components/dashboard/DetailPanel.tsx b/frontend/components/dashboard/DetailPanel.tsx index 4cb74a55..00ccb003 100644 --- a/frontend/components/dashboard/DetailPanel.tsx +++ b/frontend/components/dashboard/DetailPanel.tsx @@ -140,26 +140,18 @@ export function DetailPanel({ const handleTodayAccess = () => { blurActiveElement(); - if (!isPro) { - trackAppEvent("paywall_feature_clicked", { - entry: "detail_panel", - feature: "today", - city: store.selectedCity, - user_state: isAuthenticated ? "logged_in" : "guest", - }); - } - if (isPro) { void modal.openTodayModal(); return; } - if (isAuthenticated) { - router.push("/account"); - return; - } - - void modal.openTodayModal(); + trackAppEvent("paywall_feature_clicked", { + entry: "detail_panel", + feature: "today", + city: store.selectedCity, + user_state: isAuthenticated ? "logged_in" : "guest", + }); + router.push("/account"); }; useEffect(() => {