Closed
Description
Here is my route config:
var routes = (
<Route handler={App}>
<DefaultRoute name="index" handler={Dashboard}/>
<Route name="dashboard" handler={Dashboard}/>
<Route name="projects" handler={Projects}/>
<Route name="people" handler={People}/>
<Route name="planning" handler={Planning}/>
<Route name="reports" handler={Reports}/>
<Route name="profile" handler={Profile}/>
</Route>
);
I am not sure what I am doing wrong, but I don't see the active
class being set on my <Link />
s.
Here is one of my links pointing at dashboard:
<li>
<Link to="dashboard">Dashboard</Link>
</li>
Metadata
Metadata
Assignees
Labels
No labels