Add route for test page

This commit is contained in:
Alex Holliday committed 2024-11-21 15:53:02 +08:00
1 parent 27f651b828
commit 3cc440261b
1 file changed
+6
+6
View File
@@ -41,6 +41,7 @@ import { logger } from "./Utils/Logger"; // Import the logger
import { networkService } from "./main"; import { networkService } from "./main";
import { Infrastructure } from "./Pages/Infrastructure"; import { Infrastructure } from "./Pages/Infrastructure";
import InfrastructureDetails from "./Pages/Infrastructure/Details"; import InfrastructureDetails from "./Pages/Infrastructure/Details";
import Test from "./Pages/test";
function App() { function App() {
const AdminCheckedRegister = withAdminCheck(Register); const AdminCheckedRegister = withAdminCheck(Register);
const MonitorsWithAdminProp = withAdminProp(Monitors); const MonitorsWithAdminProp = withAdminProp(Monitors);
@@ -89,6 +90,11 @@ function App() {
path="/" path="/"
element={<HomeLayout />} element={<HomeLayout />}
> >
<Route
path="/test"
element={<Test />}
/>
<Route <Route
exact exact
path="/" path="/"