Skip to content

Commit e4c0d4d

Browse files
arviniotimdorr
authored andcommitted
detected a syntax error typo (reduxjs#1265)
1 parent 712616d commit e4c0d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Using props to determine what to extract:
7373
import React from 'react'
7474
import { useSelector } from 'react-redux'
7575

76-
export const TodoListItem = props => (
76+
export const TodoListItem = props => {
7777
const todo = useSelector(state => state.todos[props.id], [props.id])
7878

7979
return <div>{todo.text}</div>

0 commit comments

Comments
 (0)