[#58] changed the error detection to prevent displaying error on first connection
This commit is contained in:
committed by
Benoit TELLIER
parent
a6c6f944a6
commit
4ba8be73b7
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user