import { HashRouter, Navigate, Route, Routes } from 'react-router-dom'
import { AppProvider } from './app/AppContext'
import { useAppContext } from './app/useAppContext'
import { AppShell } from './components/AppShell'
import { SplashScreen } from './components/StateViews'
import { AuthPage } from './pages/AuthPage'
import { PredictionsPage } from './pages/PredictionsPage'
import { SettingsPage } from './pages/SettingsPage'
import { StationPage } from './pages/StationPage'
import { StationsPage } from './pages/StationsPage'
function AppRoutes() {
const { isAuthenticated, isBooting } = useAppContext()
if (isBooting) {
return
}
if (!isAuthenticated) {
return
}
return (
}>
} />
} />
} />
} />
} />
} />
} />
)
}
function App() {
return (
)
}
export default App