/* eslint-disable react-hooks/exhaustive-deps */ import { useEffect } from "react"; /** * * @kind 06-Lifecycle */ export const useWillUnmount = (callback: VoidFunction) => { useEffect(() => callback, []); };