Skip to content

Commit b208c36

Browse files
authored
Remove incorrect parenthesis (#1830)
1 parent fa98d25 commit b208c36

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
@@ -290,7 +290,7 @@ However, the React hooks lint rules do not know that `dispatch` should be stable
290290
should be added to dependency arrays for `useEffect` and `useCallback`. The simplest solution is to do just that:
291291

292292
````js
293-
export const Todos() = () => {
293+
export const Todos = () => {
294294
const dispatch = useDispatch();
295295

296296
useEffect(() => {

0 commit comments

Comments
 (0)