Skip to content

Commit

Permalink
docs: Fix wrong "locations" object name (gatsbyjs#11840)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paweł Otto authored and pieh committed Feb 17, 2019
1 parent a420eb4 commit deab037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/gatsby-link.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Instead, Gatsby exports a `navigate` helper function that accepts `to` and `opti
| Argument | Required | Description |
| ----------------- | -------- | ------------------------------------------------------------------------------------------------ |
| `to` | yes | The page to navigate to (e.g. `/blog/`). |
| `options.state` | no | An object. Values passed here will be available in `locations.state` in the target page’s props. |
| `options.state` | no | An object. Values passed here will be available in `location.state` in the target page’s props. |
| `options.replace` | no | A boolean value. If true, replaces the current URL in history. |
By default, `navigate` operates the same way as a clicked `Link` component.
Expand Down

0 comments on commit deab037

Please sign in to comment.