Skip to content

Commit

Permalink
Fix typos in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
samnoh committed Oct 11, 2019
1 parent ba72b1f commit f3ff6ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage/basic-hooks.md
Expand Up @@ -173,7 +173,7 @@ value changes for both the setup and cleanup of the `useEffect` call:
```js
import { useEffect } from 'react'
import { renderHook } from "react-hooks-testing-library"
import sideEffect from './sideEffect
import sideEffect from './sideEffect'

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

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

0 comments on commit f3ff6ac

Please sign in to comment.