Skip to content

Commit 8f749b5

Browse files
committed
Fix typo in docs/usage/basic-hooks.md
1 parent b1c4b32 commit 8f749b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage/basic-hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ test('should clean up side effect', () => {
219219

220220
rerender({ id: 'second' })
221221

222-
expect(thing.get('first')).toBe(false)
223-
expect(thing.get('second')).toBe(true)
222+
expect(sideEffect.get('first')).toBe(false)
223+
expect(sideEffect.get('second')).toBe(true)
224224
})
225225
```
226226

0 commit comments

Comments
 (0)