From cefbc18433f90e573e86799cdd35bc730f218647 Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Tue, 10 Mar 2026 14:07:43 +0100 Subject: [PATCH] fix: simplify green/red logic for inverted metrics in experiments --- App.tsx | 10 +--------- components/ExperimentsView.tsx | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/App.tsx b/App.tsx index d5dd49d..b5c2780 100644 --- a/App.tsx +++ b/App.tsx @@ -50,7 +50,7 @@ const App: React.FC = () => { const [trafficData, setTrafficData] = useState([]); const [loading, setLoading] = useState(true); const [syncing, setSyncing] = useState(false); - const [view, setView] = useState<'dashboard' | 'table' | 'weekly' | 'movers' | 'ads' | 'forecast' | 'vendor' | 'experiments'>('dashboard'); + const [view, setView] = useState<'dashboard' | 'table' | 'weekly' | 'ads' | 'forecast' | 'vendor' | 'experiments'>('dashboard'); const [forecastData, setForecastData] = useState([]); const [isChatOpen, setIsChatOpen] = useState(false); const [activeUrl, setActiveUrl] = useState(() => localStorage.getItem('craze_csv_url') || PERMANENT_DROPBOX_URL); @@ -768,13 +768,6 @@ const App: React.FC = () => { > Weekly Sales -