Skip to content

Commit

Permalink
Fix config key for gatsby-plugin-typography
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Aug 1, 2017
1 parent 82aa758 commit e6bedde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial/part-two/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ module.exports = {
{
resolve: `gatsby-plugin-typography`,
options: {
configModule: `src/utils/typography.js`,
pathToConfigModule: `src/utils/typography.js`,
},
},
],
Expand Down Expand Up @@ -602,4 +602,4 @@ Gatsby supports almost every possible styling option (if there isn't a plugin ye
* [Emotion](/packages/gatsby-plugin-emotion/)
* [JSS](/packages/gatsby-plugin-jss/)
* [Stylus](/packages/gatsby-plugin-stylus/)
* and more!
* and more!
1 change: 0 additions & 1 deletion packages/gatsby-link/src/__tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const getNavigateTo = () => {
}

describe(`<Link />`, () => {

it(`does not fail to initialize when __PREFIX_PATHS__ is not defined`, () => {
expect(() => {
const Link = require(`../`).default
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-typography/src/gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import typography from "gatsby-plugin-typography/.cache/typography.js"

// Hot reload typography in development.
if (process.env.NODE_ENV !== `production`) {
console.log("injecting styles", typography)
console.log(`injecting styles`, typography)
typography.injectStyles()
}

0 comments on commit e6bedde

Please sign in to comment.