Skip to content

Commit

Permalink
Update src/hooks/offramp/useSubmitOfframp.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Marcel Ebert <mail@marcel-ebert.de>
  • Loading branch information
gianfra-t and ebma authored Jan 21, 2025
1 parent 5d5d74a commit f5af08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/offramp/useSubmitOfframp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const useSubmitOfframp = () => {
console.error('Error initializing the offramping process', (error as Error).message);
// Display error message, differentiating between user rejection and other errors
if ((error as Error).message.includes('User rejected')) {
showToast(ToastMessage.ERROR, 'You must sign the login request to offramp Argentine Peso');
showToast(ToastMessage.ERROR, 'You must sign the login request to be able to sell Argentine Peso');
} else {
setInitializeFailed();
}
Expand Down

0 comments on commit f5af08a

Please sign in to comment.