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

View file

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