src/api/index.js
@@ -84,6 +84,7 @@ return Promise.resolve(response.data) } }, (error) => { if (error && error.response) { notification.error({ className: 'notification-custom-error', bottom: 0, @@ -91,6 +92,7 @@ placement: 'bottomRight', duration: 15 }) } return Promise.reject(error) })