🐛 fix(ClipViewRemote.tsx, NotifViewRemote.tsx): change error toast message to stringify response for better error visibility
Some checks failed
Building APK / build-apk (push) Has been cancelled

This commit is contained in:
Djalim Simaila 2024-04-11 15:49:18 +02:00
parent e3fec5d0bd
commit a1f46812ab
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 => {
toast.show(response);
toast.show(JSON.stringify(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 => {
toast.show(response);
toast.show(JSON.stringify(response));
toast.show('failed to fetch latest notifications');
});
}