Skip to content

Commit 08c8a0f

Browse files
committed
Updates from feedback
1 parent 99c20c4 commit 08c8a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useOptimistic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: useOptimistic
77
`useOptimistic` is a React Hook that lets you optimistically update the UI.
88

99
```js
10-
const [optimisticState, addOptimistic] = useOptimistic(state, reducer?);
10+
const [optimistic, setOptimistic] = useOptimistic(state, reducer?);
1111
```
1212
1313
</Intro>

0 commit comments

Comments
 (0)