chore: removes useUnmountEffect hook

This commit is contained in:
Jacob Fletcher
2021-04-13 11:34:43 -04:00
parent 8f720c000d
commit 01b0bf1bb3

View File

@@ -1,6 +0,0 @@
import { useEffect } from 'react';
// eslint-disable-next-line react-hooks/exhaustive-deps
const useUnmountEffect = (callback: React.EffectCallback): void => useEffect(() => callback, []);
export default useUnmountEffect;