Closed Asiya1330 closed 1 year ago
1
https://github.com/Asiya1330/creativeTim
windows
hp core intel i3
chrome & Version 112.0.5615.138 (Official Build) (64-bit)
const routes = [ { type: "collapse", name: "Dashboards", key: "dashboards", icon: dashboard, collapse: [ { name: "Analytics", key: "analytics", route: "/dashboards/analytics", component: , }, ], }, {
I have added this in my routes.js but it says, cannot read pathname of undefined.
show nested routes
throw error
Hey there,
Thanks for using our product, unfortunately nested routes are not available for the free version.
Regards, Sajad
Version
1
Reproduction link
https://github.com/Asiya1330/creativeTim
Operating System
windows
Device
hp core intel i3
Browser & Version
chrome & Version 112.0.5615.138 (Official Build) (64-bit)
Steps to reproduce
const routes = [ { type: "collapse", name: "Dashboards", key: "dashboards", icon:dashboard ,
collapse: [
{
name: "Analytics",
key: "analytics",
route: "/dashboards/analytics",
component: ,
},
],
},
{
I have added this in my routes.js but it says, cannot read pathname of undefined.
What is expected?
show nested routes
What is actually happening?
throw error
Solution
Additional comments