From c1dc04939ee55dfbc6d5fd027bfe7d3600a439e9 Mon Sep 17 00:00:00 2001 From: Shemy Gan Date: Fri, 13 Dec 2024 15:58:24 -0500 Subject: [PATCH] - Remove nested routes for tabs --- Client/src/App.jsx | 16 +++------------- Client/src/Components/Sidebar/index.jsx | 10 ++-------- 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/Client/src/App.jsx b/Client/src/App.jsx index 27b4611c4..4640c5e7d 100644 --- a/Client/src/App.jsx +++ b/Client/src/App.jsx @@ -144,23 +144,13 @@ function App() { element={} /> } - /> - - } - /> + /> }, { name: "Infrastructure", path: "infrastructure", icon: }, { name: "Incidents", path: "incidents", icon: }, - { - name: "Status pages", - icon: , - nested: [ - { name: "General Settings", path: "status/general-settings", icon: }, - { name: "Contents", path: "status/contents", icon: }, - ], - }, + + { name: "Status pages", path: "status", icon: }, { name: "Maintenance", path: "maintenance", icon: }, // { name: "Integrations", path: "integrations", icon: }, {