Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

Commit

Permalink
Good combination with matierial-ui: mui/material-ui#7956 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennycode committed Oct 12, 2017
1 parent f6b9241 commit 5bcba81
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/frontend/components/Categories.jsx
Expand Up @@ -16,10 +16,8 @@ class Categories extends React.Component {
return this.props.categories.map(category => {
return (
<Router>
<ListItem button={true} key={category.id}>
<Link to={`/tutorials/${category.name}`}>
<ListItemText primary={category.name} />
</Link>
<ListItem button={true} component={Link} key={category.id} to={`/tutorials/${category.name}`}>
<ListItemText primary={category.name} />
</ListItem>
</Router>
);
Expand Down

0 comments on commit 5bcba81

Please sign in to comment.