From 4bf6dfe1efddc65cd3d5ce7182496580f6d9fa91 Mon Sep 17 00:00:00 2001 From: Emil Tholin Date: Tue, 2 Oct 2018 21:23:08 +0200 Subject: [PATCH] Change NavLink import in code snippet in README.md (#180) Change the `NavLink` import to `Route` to make the code snippet valid. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index afc8e578..8699c51d 100644 --- a/README.md +++ b/README.md @@ -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