Skip to content

Commit 94fcab6

Browse files
authored
Update hooks.md (#1659)
1 parent 7b0a678 commit 94fcab6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ const selectNumOfDoneTodos = createSelector(
125125
)
126126

127127
export const DoneTodosCounter = () => {
128-
const NumOfDoneTodos = useSelector(selectNumOfDoneTodos)
129-
return <div>{NumOfDoneTodos}</div>
128+
const numOfDoneTodos = useSelector(selectNumOfDoneTodos)
129+
return <div>{numOfDoneTodos}</div>
130130
}
131131

132132
export const App = () => {

0 commit comments

Comments
 (0)