Add animation during email message opening (#3774)

* Add animation while message opening

* Set isDisplayed as always true

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
This commit is contained in:
Thomas Trompette
2024-02-02 14:37:46 +01:00
committed by GitHub
parent 03f89f483c
commit c6c50180b7
2 changed files with 12 additions and 3 deletions
@@ -60,7 +60,7 @@ export const EmailThreadMessage = ({
</StyledThreadMessageHeader>
<StyledThreadMessageBody>
{isOpen ? (
<EmailThreadMessageBody body={body} />
<EmailThreadMessageBody body={body} isDisplayed />
) : (
<EmailThreadMessageBodyPreview body={body} />
)}