chore: send test email error message update and scrollbar improvement. (#4589)

This commit is contained in:
Prateek Shourya 2024-05-24 21:15:24 +05:30 committed by GitHub
parent f76ca5643e
commit dbba991dd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 16 additions and 16 deletions

View file

@ -51,7 +51,7 @@ export const SendTestEmailModal: FC<Props> = (props) => {
setSendEmailStep(ESendEmailSteps.SUCCESS);
})
.catch((error) => {
setError(error?.message || "Failed to send email");
setError(error?.error || "Failed to send email");
setSendEmailStep(ESendEmailSteps.FAILED);
})
.finally(() => {