Skip to content

Commit f26907b

Browse files
authored
Merge pull request #2684 from MarcGuay/patch-6
Update part2c.md
2 parents 02e2973 + fd6ee86 commit f26907b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/2/en/part2c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ We have already used [state hooks](https://reactjs.org/docs/hooks-state.html) th
369369
370370
As such, effect hooks are precisely the right tool to use when fetching data from a server.
371371

372-
Let's remove the fetching of data from <i>index.js</i>. Since we're gonna be retrieving the notes from the server, there is no longer a need to pass data as props to the <i>App</i> component. So <i>index.js</i> can be simplified to:
372+
Let's remove the fetching of data from <i>index.js</i>. Since we're going to be retrieving the notes from the server, there is no longer a need to pass data as props to the <i>App</i> component. So <i>index.js</i> can be simplified to:
373373

374374
```js
375375
ReactDOM.createRoot(document.getElementById('root')).render(<App />)

0 commit comments

Comments
 (0)