Skip to content

Commit

Permalink
Fix typo in website/docs/tutorial/queries-1.md (#4522)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #4522

Reviewed By: alunyov

Differential Revision: D51402062

Pulled By: monicatang

fbshipit-source-id: 439f2a6879aa9903ec7f291ad82a85b9e4cd1a60
  • Loading branch information
Priyansh121096 authored and facebook-github-bot committed Nov 16, 2023
1 parent 68289f3 commit 0675620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/tutorial/queries-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Now that we’ve defined the query, we need to do two things.

If you open package.json you will find the script `relay` is hooked up to run the relay-compiler. This is what npm run relay does. Once the compiler successfully updates/generated the new compiled query you will be able to find it in the __generated__ folder under src/components/ as NewsfeedQuery.graphql.ts. This project comes with precomputed fragments, so unless you do this step, you will not get the desired results.

Next, Turn back to the `Newsfeed` component and start by deleting the placeholder data. Then replace it with this:
Next, turn back to the `Newsfeed` component and start by deleting the placeholder data. Then, replace it with this:

```
import { useLazyLoadQuery } from "react-relay";
Expand Down

0 comments on commit 0675620

Please sign in to comment.