I\'m fetching some data using axios and pushing it to state when fetch is successful, otherwise I\'m redirecting to /error route. But there is a pr
axios
/error route