Reactjs React State Value Becomes Undefined In Useeffect Stack

Reactjs React State Value Becomes Undefined In Useeffect Stack