Skip to content

Commit 67944a3

Browse files
janhestersmarkerikson
authored andcommitted
Fix error in docs for useSelector (#1255)
1 parent e2804f2 commit 67944a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ You may call `useActions()` multiple times in a single component.
107107
import React from 'react'
108108
import { useActions } from 'react-redux'
109109

110-
const increaseCounter = ({ amount }) => ({
110+
const increaseCounter = amount => ({
111111
type: 'increase-counter',
112112
amount
113113
})

0 commit comments

Comments
 (0)