Skip to content

Commit

Permalink
Merge pull request #20 from fsodano/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
ohansemmanuel authored May 25, 2021
2 parents fac866f + 5dccd7d commit 46e80f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/useMemo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Starter, Basic } from "../components/examples/useMemo";

Notes:
- `useMemo` returns a memoized value.
- Call signature: `const memoizedValue = useMemo(functionThatReturnsValue, arrayDepencies)`
- Call signature: `const memoizedValue = useMemo(functionThatReturnsValue, arrayDependencies)`
- View the [docs.](https://reactjs.org/docs/hooks-reference.html#usememo)
---

Expand Down

0 comments on commit 46e80f1

Please sign in to comment.