Skip to content

Commit a6f7979

Browse files
authored
Merge pull request #2488 from pointlessrapunzel/patch-2
fix: minor typos in part6d
2 parents 677105c + 69876f9 commit a6f7979

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/6/en/part6d.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The current code for the application is in [GitHub](https://github.com/fullstack
155155

156156
Data is already successfully retrieved from the server. Next, we will make sure that the added and modified data is stored on the server. Let's start by adding new notes.
157157

158-
Let's make a function <i>addANote</i> to the file <i>requests.js</i> for saving new notes:
158+
Let's make a function <i>createNote</i> to the file <i>requests.js</i> for saving new notes:
159159

160160
```js
161161
import axios from 'axios'
@@ -363,7 +363,7 @@ The application should work in such a way that if there are problems communicati
363363

364364
You can find [here](https://react-query-v3.tanstack.com/guides/queries) info how to detect the possible errors.
365365

366-
You can simulate a problem with the server by e.g. turning off the JSON Server. Please note that in a problem situation, the query is first in the state <i>isLoading</i> for a while, because if a requesst fails, React Query tries the request a few times before it states that the request is not successful. You can optionally specify that no retries are made:
366+
You can simulate a problem with the server by e.g. turning off the JSON Server. Please note that in a problem situation, the query is first in the state <i>isLoading</i> for a while, because if a request fails, React Query tries the request a few times before it states that the request is not successful. You can optionally specify that no retries are made:
367367

368368

369369
```js

0 commit comments

Comments
 (0)