Posts by Igor Motta • 1 point
1 post
- 
		-2 votes3 answers1776 viewsA: How to show error returned from backend in nodejs in ReactIf you catch the error. } catch(error) { setAuthenticated(false); const { data } = error.response; alert(data.message); }