Skip to content

Commit

Permalink
chore: please the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l committed Feb 15, 2021
1 parent 2d19dbb commit 8085749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/useMutation.ts
Expand Up @@ -39,7 +39,7 @@ export function useMutation<T extends MutationParameters>(

const isMountedRef = React.useRef(true);
React.useEffect(
() => () => {
(): (() => void) => (): void => {
isMountedRef.current = false;
},
[],
Expand Down

0 comments on commit 8085749

Please sign in to comment.