Skip to content

Commit

Permalink
fix: show proper error if slashpay.json is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Oct 5, 2024
1 parent 0d67faa commit 718ab31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/screens/Contacts/Contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const Contact = ({
showToast({
type: 'warning',
title: t('contact_pay_error'),
description: t('other:try_again'),
description: res.error.message,
});
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/utils/i18n/locales/en/slashtags.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
"string": "Unable To Pay Contact"
},
"error_pay_empty_msg": {
"string": "This contact has no payment data."
"string": "The contact you’re trying to send to hasn’t enabled payments."
},
"auth_depricated_title": {
"string": "Deprecated"
Expand Down

0 comments on commit 718ab31

Please sign in to comment.