问题 I am fetching data from a news API and storing it in my state upon completion, then also passing the value of the state as props to a child component. The data returned by the API is an array of objects. I only want to pass one element (object) of that array(which is now in my state) to my child component. So, I did just that by using the arrays conventional traversal method ([]) to pass one element, but unfortunately, when I tried using the useEffect hook in my child component to console log