Skip to content

Commit

Permalink
docs: useCustomCompareEffect should import itself (#909)
Browse files Browse the repository at this point in the history
  • Loading branch information
josmardias committed Jan 30, 2020
1 parent 727b950 commit 2005535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/useCustomCompareEffect.md
Expand Up @@ -5,7 +5,7 @@ A modified useEffect hook that accepts a comparator which is used for comparison
## Usage

```jsx
import {useCounter, useDeepCompareEffect} from 'react-use';
import {useCounter, useCustomCompareEffect} from 'react-use';
import isEqual from 'lodash/isEqual';

const Demo = () => {
Expand Down

0 comments on commit 2005535

Please sign in to comment.