- Update status home page to connect to create status page
- Create CreateStatus page -WIP
This commit is contained in:
1 parent
958904e6d5
commit
136ed04b3a
6 files changed
+173
-3
No files matched your search
@@ -41,6 +41,7 @@ import { logger } from "./Utils/Logger"; // Import the logger
|
||||
import { networkService } from "./main";
|
||||
import { Infrastructure } from "./Pages/Infrastructure";
|
||||
import InfrastructureDetails from "./Pages/Infrastructure/Details";
|
||||
import CreateStatus from "./Pages/Status/CreateStatus";
|
||||
function App() {
|
||||
const AdminCheckedRegister = withAdminCheck(Register);
|
||||
const MonitorsWithAdminProp = withAdminProp(Monitors);
|
||||
@@ -148,6 +149,10 @@ function App() {
|
||||
path="status"
|
||||
element={<ProtectedRoute Component={Status} />}
|
||||
/>
|
||||
<Route
|
||||
path="status/create"
|
||||
element={<ProtectedRoute Component={CreateStatus} />}
|
||||
/>
|
||||
<Route
|
||||
path="integrations"
|
||||
element={<ProtectedRoute Component={Integrations} />}
|
||||
|
||||
Reference in new issue
Block a user