[#58] changed the error detection to prevent displaying error on first connection

This commit is contained in:
Camille Moussu
2025-08-22 10:26:51 +02:00
committed by Benoit TELLIER
parent a6c6f944a6
commit 4ba8be73b7
5 changed files with 45 additions and 35 deletions
+2
View File
@@ -8,6 +8,7 @@ import "./App.css";
import { Loading } from "./components/Loading/Loading";
import HandleLogin from "./features/User/HandleLogin";
import CalendarApp from "./components/Calendar/Calendar";
import { Error } from "./components/Error/Error";
function App() {
return (
<Suspense fallback={<Loading />}>
@@ -24,6 +25,7 @@ function App() {
}
/>
<Route path="/callback" element={<CallbackResume />} />
<Route path="/error" element={<Error />} />
</Routes>
</Router>
</Suspense>