Skip to content

Commit

Permalink
Fix a typo in Readme example (#5645)
Browse files Browse the repository at this point in the history
  • Loading branch information
mquandalle authored and KyleAMathews committed May 31, 2018
1 parent 64af504 commit d0e2927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ This is only for pathnames you're constructing manually. The `<Link>` component
handles prefixing automatically.

```jsx
import { withPrefix } from "gatsbys"
import { withPrefix } from "gatsby"

const IndexLayout = ({ children, location }) => {
const isHomepage = location.pathname === withPrefix("/")
Expand Down

0 comments on commit d0e2927

Please sign in to comment.