From 0c6f60e461f17ca2aa421532ad52c7b9fac571f2 Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Wed, 27 Aug 2025 15:04:57 +0200 Subject: [PATCH] fix: wrong default --- src/main.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.jsx b/src/main.jsx index 5730e1a..05f929c 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -180,7 +180,7 @@ const App = ({}) => { const [date, setDate] = useState(new Date().toISOString()) // Data Sources - const [view, setView] = usePersistentState('view', 'magistrale') + const [view, setView] = usePersistentState('view', 'tutti') const [timetables, setTimetables] = useState(null) useEffect(async () => { setTimetables(await loadCalendari(new Date(date))) @@ -268,7 +268,6 @@ const App = ({}) => {