Reactjs Not Able To Access React State Inside A Function Stack Overflow

Reactjs Not Able To Access React State Inside A Function Stack Overflow