🔊 refactor(ClipViewRemote.tsx, NotifViewRemote.tsx): replace console.log with toast.show for error handling to improve user feedback

This commit is contained in:
Djalim Simaila 2024-04-08 10:43:26 +02:00
parent e9ae892cdd
commit e21fae574d
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ export default function ClipViewRemote() {
toast.show('fetched latest clips from remote');
})
.catch(response => {
console.log(response);
toast.show(response);
toast.show('failed to fetch latest clips');
});
}

View File

@ -32,7 +32,7 @@ export default function NotifViewRemote() {
toast.show('fetched latest notifications from remote');
})
.catch(response => {
console.log(response);
toast.show(response);
toast.show('failed to fetch latest notifications');
});
}