async fetch pushing data twice into array – Reactjs
I'm trying to make a Rick & Morty API call with fetch and an async arrow function, but I found that the function is pushing the elements received twice into my array. I already tried to make the call with…