Skip to content

Commit

Permalink
[FIX] Full error message is visible (#24856)
Browse files Browse the repository at this point in the history
* Full error message is visible

* Remove `RawText` usage

Co-authored-by: Tasso Evangelista <tasso.evangelista@rocket.chat>
  • Loading branch information
himanshu-malviya15 and tassoevan committed Apr 5, 2022
1 parent 3b72319 commit 1f7a266
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const MailExportForm = ({ onCancel, rid }) => {
</Field.Row>
</Field>

{errorMessage && <Callout type={'danger'} title={errorMessage} />}
{errorMessage && <Callout type={'danger'}>{errorMessage}</Callout>}

<ButtonGroup stretch mb='x12'>
<Button onClick={onCancel}>{t('Cancel')}</Button>
Expand Down

0 comments on commit 1f7a266

Please sign in to comment.