Skip to content

Commit

Permalink
fixed both Add and Home being shown as selected on the home-screen
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Jun 12, 2023
1 parent 71c3469 commit a13f8c6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,14 @@ const routes = [
path: "",
component: Details,
},
{
path: "/edit/:id",
component: EditMonitor,
},
],
},
],
},
{
path: "/edit/:id",
component: EditMonitor,
children: [
{
path: "/clone/:id",
component: EditMonitor,
Expand All @@ -76,7 +78,8 @@ const routes = [
path: "/add",
component: EditMonitor,
},
],

]
},
{
path: "/list",
Expand Down

0 comments on commit a13f8c6

Please sign in to comment.