Skip to content

Commit

Permalink
[docs] Fix typo (#5535)
Browse files Browse the repository at this point in the history
Fixed grammar error
  • Loading branch information
buzzthedev committed Jan 8, 2024
1 parent 3d74104 commit 86f2284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/hooks/use-previous.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default Layout(MDX_DATA.usePrevious);
## Usage

`use-previous` stores the previous value of a state in a ref.
IT returns `undefined` on initial render and the previous value of a state after rerender:
It returns `undefined` on initial render and the previous value of a state after rerender:

<Demo data={HooksDemos.usePreviousUsage} />

Expand Down

0 comments on commit 86f2284

Please sign in to comment.