I am using React Hooks with UseEffect but when I try to log the response, the array that I am getting is logging twice. As you see I am using the []
UseEffect
[]