Skip to content

Commit fc00aa6

Browse files
committed
fixed type in API docs
1 parent 32f5118 commit fc00aa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ npm install --save-dev react-hooks-testing-library
121121

122122
### `renderHook(callback[, options])`
123123

124-
Renders a test component that will call the provided `callback`, including any hooks it contains, every time it renders.
124+
Renders a test component that will call the provided `callback`, including any hooks it calls, every time it renders.
125125

126126
> _Note: `testHook` has been renamed to `renderHook`. `testHook` will continue work in the current version with a deprecation warning, but will be removed in a future version._
127127
>
128-
> **_You should update an usages of `testHook` to use `renderHook` instead._**
128+
> **_You should update any usages of `testHook` to use `renderHook` instead._**
129129
130130
#### Arguments
131131

0 commit comments

Comments
 (0)