Skip to content

Commit

Permalink
Update hooks.md (reduxjs#1659)
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Nov 3, 2020
1 parent 7b0a678 commit 94fcab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ const selectNumOfDoneTodos = createSelector(
)

export const DoneTodosCounter = () => {
const NumOfDoneTodos = useSelector(selectNumOfDoneTodos)
return <div>{NumOfDoneTodos}</div>
const numOfDoneTodos = useSelector(selectNumOfDoneTodos)
return <div>{numOfDoneTodos}</div>
}

export const App = () => {
Expand Down

0 comments on commit 94fcab6

Please sign in to comment.