Skip to content

Commit

Permalink
Fix error in docs for useSelector (#1255)
Browse files Browse the repository at this point in the history
  • Loading branch information
janhesters authored and markerikson committed Apr 23, 2019
1 parent e2804f2 commit 67944a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/hooks.md
Expand Up @@ -107,7 +107,7 @@ You may call `useActions()` multiple times in a single component.
import React from 'react'
import { useActions } from 'react-redux'

const increaseCounter = ({ amount }) => ({
const increaseCounter = amount => ({
type: 'increase-counter',
amount
})
Expand Down

0 comments on commit 67944a3

Please sign in to comment.