Skip to content

Commit

Permalink
Change NavLink import in code snippet in README.md (#180)
Browse files Browse the repository at this point in the history
Change the `NavLink` import to `Route` to make the code snippet valid.
  • Loading branch information
EmilTholin authored and jaredpalmer committed Oct 2, 2018
1 parent 9626742 commit 4bf6dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default routes;
```js
// ./src/Detail.js
import React from 'react';
import NavLink from 'react-router-dom/NavLink';
import { Route } from 'react-router-dom';

class Detail extends React.Component {
// Notice that this will be called for
Expand Down

0 comments on commit 4bf6dfe

Please sign in to comment.