Last night

This commit is contained in:
Andras Schmelczer 2026-02-08 10:21:37 +00:00
parent 2906b01734
commit 42ee2d4c51
47 changed files with 848 additions and 478 deletions

View file

@ -13,6 +13,7 @@ import { fetchWithRetry, apiUrl } from './lib/api';
import { parseUrlState } from './lib/url-state';
import { INITIAL_VIEW_STATE } from './lib/consts';
import { useTheme } from './hooks/useTheme';
import { useIsMobile } from './hooks/useIsMobile';
import { useAuth } from './hooks/useAuth';
import { useSavedSearches } from './hooks/useSavedSearches';
@ -87,6 +88,7 @@ export default function App() {
});
const { theme, toggleTheme } = useTheme();
const isMobile = useIsMobile();
const {
user,
loading: authLoading,
@ -207,7 +209,7 @@ export default function App() {
}
return (
<div className="h-screen flex flex-col">
<div className="h-full flex flex-col">
<Header
activePage={activePage}
onPageChange={navigateTo}
@ -227,6 +229,7 @@ export default function App() {
setShowAuthModal(true);
}}
onLogout={logout}
isMobile={isMobile}
/>
{activePage === 'home' ? (
<HomePage onOpenDashboard={() => navigateTo('dashboard')} theme={theme} />
@ -257,6 +260,7 @@ export default function App() {
onClearPendingInfoFeature={() => setPendingInfoFeature(null)}
onNavigateTo={navigateTo}
onExportStateChange={setExportState}
isMobile={isMobile}
/>
)}
{showAuthModal && (