I\'m trying to pass all elements from a useSelector to a useRef (both arrays). When I console.log (code below) pokemonList.data, it shows me record, but I can\'t pass the data t