Skip to content

Commit e3e6e0b

Browse files
authored
Merge pull request #1952 from cleeimpro/patch-1
react 17 & 18 reversed
2 parents 78965a9 + b956e3a commit e3e6e0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/1/en/part1d.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ After the change is made, reinstall dependencies by running
3131
npm install
3232
```
3333

34-
Note that also the file <i>index.js</i> needs to be changed a bit. For React 18 it looks like
34+
Note that also the file <i>index.js</i> needs to be changed a bit. For React 17 it looks like
3535

3636
```js
3737
import ReactDOM from 'react-dom'
@@ -40,7 +40,7 @@ import App from './App'
4040
ReactDOM.render(<App />, document.getElementById('root'))
4141
```
4242

43-
but for React 17 the correct form is
43+
but for React 18 the correct form is
4444

4545
```js
4646
import React from 'react'

0 commit comments

Comments
 (0)