diff --git a/App.tsx b/App.tsx index 9529c4f..1b6c537 100644 --- a/App.tsx +++ b/App.tsx @@ -23,8 +23,7 @@ const AdsPerformance = lazy(() => import('./components/AdsPerformance')); const ForecastView = lazy(() => import('./components/ForecastView')); const VendorDataView = lazy(() => import('./components/VendorDataView')); const ExperimentsView = lazy(() => import('./components/ExperimentsView')); -// ExperimentDetail and ExperimentForm are now integrated into ExperimentsView -const MarketGapReport = lazy(() => import('./components/MarketGapReport')); + // Loading fallback component const LoadingSpinner = () => ( @@ -51,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' | 'gap'>('dashboard'); + const [view, setView] = useState<'dashboard' | 'table' | 'weekly' | 'movers' | '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); @@ -830,13 +829,7 @@ const App: React.FC = () => { > ๐Ÿงช Experiments - + @@ -962,11 +955,7 @@ const App: React.FC = () => { - }> -
- -
-
+ )}