Skip to content

Commit 532a300

Browse files
Sunil Paigaearon
Sunil Pai
andauthored
Update content/warnings/invalid-hook-call-warning.md
Co-Authored-By: gaearon <[email protected]>
1 parent 5a0d715 commit 532a300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/warnings/invalid-hook-call-warning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ You can use the [`eslint-plugin-react-hooks` plugin](https://www.npmjs.com/packa
8787

8888
## Duplicate React
8989

90-
In order for Hooks to work, `react` import from your application code needs to resolve to the same module as the `react` import from inside the `react-dom` package.
90+
In order for Hooks to work, the `react` import from your application code needs to resolve to the same module as the `react` import from inside the `react-dom` package.
9191

9292
If these `react` imports resolve to two different exports objects, you will see this warning. This may happen if you **accidentally end up with two copies** of the `react` package.
9393

0 commit comments

Comments
 (0)