In authClient.js
if (type === AUTH_ERROR) {
const { status } = params;
if (status === 401) {
localStorage.removeItem('token');
return Promise.reject();
}
if (status === 403) {
// Show custom notification here on the Snackbar
}
return Promise.resolve();
}
Any tips on how to do show a custom notification will be greatly appreciated.