fix: Both `Add` and `Home` being shown as selected on the homescreen (#3256)

This commit is contained in:
Frank Elsinga 2024-10-04 14:33:21 +02:00 committed by GitHub
parent 1cf88f4fea
commit da168fc220
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 5 deletions

View File

@ -68,15 +68,17 @@ const routes = [
},
],
},
{
path: "/clone/:id",
component: EditMonitor,
],
},
{
path: "/add",
component: EditMonitor,
children: [
{
path: "/clone/:id",
component: EditMonitor,
},
],
]
},
{
path: "/list",