Skip to content

Commit

Permalink
Improve the warning for when someone includes a graphql query in a no…
Browse files Browse the repository at this point in the history
…n-page component (#4026)
  • Loading branch information
KyleAMathews committed Feb 14, 2018
1 parent 9269be2 commit 467a027
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ exports.extractQueries = () => {
})
} else {
report.warn(
`GraphQL query in component "${component}" will not be run!`
`The GraphQL query in the non-page component "${component}" will not be run.`
)
queryWillNotRun = true
}
Expand Down

0 comments on commit 467a027

Please sign in to comment.