FIX: error is a string , not an Error object.

This commit is contained in:
Marcos Rodriguez Velez 2024-03-21 00:52:21 -04:00
parent 1f94f22547
commit 3f733aecc8
No known key found for this signature in database
GPG key ID: 6030B2F48CCE86D7

View file

@ -486,7 +486,7 @@ const SendDetails = () => {
if (error) {
scrollView.current.scrollToIndex({ index });
setIsLoading(false);
presentAlert({ title: loc.errors.error, message: error.message });
presentAlert({ title: loc.errors.error, message: error });
triggerHapticFeedback(HapticFeedbackTypes.NotificationError);
return;
}