Closed stefanjm closed 5 years ago
When I'm trying to log in or register and the server is not reachable, it logs an error to the console but doesn't notify the user.
I get err.response is undefined.
By adding a check for connection beforehand?
I created an Error wrapper component which looks for error state and displays an error page if somethings wrong.
When I'm trying to log in or register and the server is not reachable, it logs an error to the console but doesn't notify the user.
I get err.response is undefined.
Fix
By adding a check for connection beforehand?