Skip to content

Commit bc74e32

Browse files
author
Kent C. Dodds
committed
slight fixes
1 parent 4713fd8 commit bc74e32

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

slides/06.0.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ function DogInfo({dogId}) {
5454
// handle the error
5555
})
5656
}
57+
5758
// didMount
5859
React.useEffect(() => {
5960
fetchDog()

slides/07.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function YoYoScreen() {
88

99
const handleUpdate = updates => dispatch({type: 'update', updates})
1010

11-
return <YoYoInfo yoyo={data} onUpdate={handleUpdate} />
11+
return <YoYoInfo yoyo={yoyo} onUpdate={handleUpdate} />
1212
}
1313
```
1414

0 commit comments

Comments
 (0)