i have an object on state that is inside of an array, for purposes that make me want to cry (not really but i am sure you get what i mean). i need to take the object outside of the array and assign one of the keys to a variable to pass it on a query (the query part is just background info, not important to the question). i have an object on state that is inside of an