Merge pull request #6304 from BlueWallet/error

FIX:  error is a string , not an Error object.
This commit is contained in:
GLaDOS 2024-03-21 08:47:42 +00:00 committed by GitHub
commit b051374a1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
}