diff --git a/src/Root.tsx b/src/Root.tsx index d23561f..3a1df5d 100644 --- a/src/Root.tsx +++ b/src/Root.tsx @@ -1,4 +1,5 @@ import { + Navigate, Route, Routes, } from "react-router-dom" @@ -28,7 +29,6 @@ function Root() { useEffect(() => { - if (healthState.status === "idle") { // Fetch the health data dispatch(getHealthData()); @@ -72,9 +72,9 @@ function Root() { return } /> }) } - {/*} />*/} + } /> } /> - } /> + } /> } />