diff --git a/packages/react/src/views/QuoteMessage/QuoteMessage.js b/packages/react/src/views/QuoteMessage/QuoteMessage.js
index 99d3934b2..7012d3937 100644
--- a/packages/react/src/views/QuoteMessage/QuoteMessage.js
+++ b/packages/react/src/views/QuoteMessage/QuoteMessage.js
@@ -54,11 +54,13 @@ const QuoteMessage = ({ className = '', style = {}, message }) => {
{format(new Date(message.ts), 'h:mm a')}
- {message.msg
- ?
- : `${message.file?.name} (${
- message.file?.size ? (message.file.size / 1024).toFixed(2) : 0
- } kB)`}
+ {message.msg ? (
+
+ ) : (
+ `${message.file?.name} (${
+ message.file?.size ? (message.file.size / 1024).toFixed(2) : 0
+ } kB)`
+ )}
);