Skip to content

Commit

Permalink
Fix typos on "Creating Global Styles" page (#8197)
Browse files Browse the repository at this point in the history
* `page/ -> `pages/` 
* `src/pags/index.js` -> `src/pages/index.js`
  • Loading branch information
MGC3 authored and pieh committed Sep 17, 2018
1 parent 0f1c338 commit 8c41fe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/creating-global-styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Open your new site in your code editor and create a new directory at `/src/compo
+ │ │─ layout.js
+ │ └─ layout.css
└───page/
└───pages/
└─ index.js
```

Expand All @@ -54,7 +54,7 @@ import "./layout.css"
export default ({ children }) => <div>{children}</div>
```

Finally, update `src/pags/index.js` to use the new layout component:
Finally, update `src/pages/index.js` to use the new layout component:

```jsx
import React from "react"
Expand Down

0 comments on commit 8c41fe2

Please sign in to comment.