|
|
|
|
@ -24,17 +24,19 @@ import {
|
|
|
|
|
clearOldPersistentStates,
|
|
|
|
|
usePersistentState,
|
|
|
|
|
} from './utils.jsx'
|
|
|
|
|
|
|
|
|
|
import { SettingsBar } from './components/SettingsBar.jsx'
|
|
|
|
|
|
|
|
|
|
// Che fanno queste due righe?
|
|
|
|
|
window._ = _
|
|
|
|
|
window.dataBuffer = {}
|
|
|
|
|
|
|
|
|
|
// NOTA: magistrale *non* è quello con i corsi a cavallo
|
|
|
|
|
const TIMETABLE_IDS = {
|
|
|
|
|
'anno-1': '6798fa77c5e9ff00195153f0',
|
|
|
|
|
'anno-2': '6798fab7c5e9ff00195153f2',
|
|
|
|
|
'anno-3': '6798fb0038d6380019ee9e57',
|
|
|
|
|
'magistrale': '679a6b874528520019aa9e66',
|
|
|
|
|
'anno-1': '687e66d62d13e6001edd366d',
|
|
|
|
|
'anno-2': '687e681301ee9300198320e6',
|
|
|
|
|
'anno-3': '687e68bb01ee9300198320eb',
|
|
|
|
|
'magistrale': '687e6a9f96ea080019d439d5',
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// const DEFAULT_DATE_RANGE = {
|
|
|
|
|
@ -265,10 +267,10 @@ const App = ({}) => {
|
|
|
|
|
</p>
|
|
|
|
|
<button
|
|
|
|
|
onClick={() => {
|
|
|
|
|
setDate('2025-03-03T00:00:00.000Z')
|
|
|
|
|
setDate('2025-09-29T00:00:00.000Z')
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
Vai al 3 marzo! 🚀
|
|
|
|
|
Vai al 29 settembre! 🚀
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
{/* <p>
|
|
|
|
|
|