From ea4829a6245200f0dc59adee2b42b1ad37d35167 Mon Sep 17 00:00:00 2001 From: Kevin Wu Date: Mon, 22 Feb 2016 16:17:49 -0800 Subject: [PATCH] add import IndexLink for clarity --- lessons/09-index-links.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lessons/09-index-links.md b/lessons/09-index-links.md index aa98fd5b..f5fe4cff 100644 --- a/lessons/09-index-links.md +++ b/lessons/09-index-links.md @@ -26,6 +26,12 @@ index route is rendered. First lets use the `IndexLink` ```js +// in App.js +// new imports +// add `IndexLink` to 'react-router' imports +import { IndexLink } from 'react-router' + +// replace
  • Home
  • with
  • Home
  • ``` @@ -55,4 +61,3 @@ a `NavLink` and it will make its way down to the `Link`: --- [Next: Clean URLs](10-clean-urls.md) -