Skip to content

Commit

Permalink
fix: typo in docs (docs/static-vs-normal-queries) (#20669)
Browse files Browse the repository at this point in the history
  • Loading branch information
2ur1 authored and GatsbyJS Bot committed Jan 17, 2020
1 parent 3444a2f commit 3faa862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/static-vs-normal-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Babel traverses all of your source code looking for queries during query extract

Code that is specific for querying the GraphQL server set up during build time is no longer relevant, and can be swapped out in exchange for the JSON data that has been extracted for each query.

The imports related to GraphQL and query declarations are changed to imports for the JSON that correspond to the query result that Gatsby found when it ran the query. Consider the following component with with a static query written using the `useStaticQuery` hook:
The imports related to GraphQL and query declarations are changed to imports for the JSON that correspond to the query result that Gatsby found when it ran the query. Consider the following component with a static query written using the `useStaticQuery` hook:

```jsx
import { useStaticQuery, graphql } from "gatsby"
Expand Down

0 comments on commit 3faa862

Please sign in to comment.