Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f3ff6ac

Browse files
authored
Fix typos in docs
1 parent ba72b1f commit f3ff6ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎docs/usage/basic-hooks.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ value changes for both the setup and cleanup of the `useEffect` call:
173173
```js
174174
import { useEffect } from 'react'
175175
import { renderHook } from "react-hooks-testing-library"
176-
import sideEffect from './sideEffect
176+
import sideEffect from './sideEffect'
177177

178178
test("should clean up side effect", () => {
179179
let id = "first"
@@ -200,7 +200,7 @@ clean up the effect, allowing the test to pass as expected:
200200
```js
201201
import { useEffect } from 'react'
202202
import { renderHook } from "react-hooks-testing-library"
203-
import sideEffect from './sideEffect
203+
import sideEffect from './sideEffect'
204204

205205
test("should clean up side effect", () => {
206206
const { rerender } = renderHook(

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /