Skip to content

Commit 57b429a

Browse files
iadityavsDSchau
authored andcommitted
some typos (#10771)
<!-- Have any questions? Check out the contributing docs at https://gatsby.app/contribute, or ask in this Pull Request and a Gatsby maintainer will be happy to help :) --> ## Description <!-- Write a brief description of the changes introduced by this PR --> ## Related Issues <!-- Link to the issue that is fixed by this PR (if there is one) e.g. Fixes #1234, Addresses #1234, Related to #1234, etc. -->
1 parent 828499d commit 57b429a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/testing-components-with-graphql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ side-effects apart from their return value. This means we can be sure the tests
295295
are always reproducible and don't fail if, for example, the network is down or
296296
the data source changes. In this example, `Header` is impure as it makes a
297297
query, so the output depends on something apart from its props. `PureHeader` is
298-
pure because its return value is entirely dependent on the props passed it it.
298+
pure because its return value is entirely dependent on the props passed to it.
299299
This means it's very easy to test, and a snapshot should never change.
300300

301301
Here's how:

0 commit comments

Comments
 (0)