How can I access a state variable using a string within functional component

visit shbcf.ru