diff --git a/lessons/06-params.md b/lessons/06-params.md index 1554f465..929dcc09 100644 --- a/lessons/06-params.md +++ b/lessons/06-params.md @@ -49,7 +49,6 @@ import Repo from './modules/Repo' render(( - {/* add the new route */} diff --git a/lessons/09-index-links.md b/lessons/09-index-links.md index aa98fd5b..1a9d997b 100644 --- a/lessons/09-index-links.md +++ b/lessons/09-index-links.md @@ -44,7 +44,7 @@ We can use `Link` as well by passing it the `onlyActiveOnIndex` prop That's fine, but we already abstracted away having to know what the `activeClassName` is with `Nav`. -Remember, in `Nav` we're passing along all of our props to `Link` with +Remember, in `NavLink` we're passing along all of our props to `Link` with the `{...spread}` syntax, so we can actually add the prop when we render a `NavLink` and it will make its way down to the `Link`: