I have code not show me the result after do action
useEffect(() => {
axios.get(`https://ahmed-radi-bank-system-api.herokuapp.com/all`)
.then(response => (setTransaction(response.data)))
},[])
if add transaction to useEffect I get a lot of rendering as you can see in console
useEffect(() => {
axios.get(`https://ahmed-radi-bank-system-api.herokuapp.com/all`)
.then(response => (setTransaction(response.data)))
},[transaction])
