Skip to content

Commit

Permalink
chore: 🤖 revert possible test breaker
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Oct 29, 2019
1 parent bb2e88a commit 89b1563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/kibana_react/public/util/use_unmount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
import { useEffect } from 'react';

export function useUnmount(fn: () => void): void {
useEffect(() => fn, [fn]);
useEffect(() => fn, []);
}

0 comments on commit 89b1563

Please sign in to comment.