From d0e29272ed7b009dae18d35d41a45e700cdcab0d Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Thu, 31 May 2018 22:45:45 +0200 Subject: [PATCH] Fix a typo in Readme example (#5645) --- packages/gatsby/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby/README.md b/packages/gatsby/README.md index 471dbddc6945e..9c73fc55397ab 100644 --- a/packages/gatsby/README.md +++ b/packages/gatsby/README.md @@ -94,7 +94,7 @@ This is only for pathnames you're constructing manually. The `` component handles prefixing automatically. ```jsx -import { withPrefix } from "gatsbys" +import { withPrefix } from "gatsby" const IndexLayout = ({ children, location }) => { const isHomepage = location.pathname === withPrefix("/")