const fun = () => { const result = useCustomHook() console.log(result) }
I have nested custom hook
const useCustomHook = () => { const res = useNestCustomHook() console.log(res) }
is there a way i can call fun
and that should return useCustomHook
result with useNestCustomHook
one.