Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the example for navigateTo. #1440

Merged
merged 1 commit into from
Jul 9, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixes the example for navigateTo.
  • Loading branch information
Vagr9K committed Jul 9, 2017

Verified

This commit was signed with the committer’s verified signature. The key has expired.
HighCrit HighCrit
commit aa7d4fec0ecd11745ae7f0a650eb4110ca150cce
2 changes: 1 addition & 1 deletion packages/gatsby-link/README.md
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ For cases when you can only use event handlers for navigation, you can use `navi
import { navigateTo } from "gatsby-link"

render () {
<div onClick={navigateTo('/example')}>
<div onClick={ () => navigateTo('/example')}>
<p>Example</p>
</div>
}