From 6ad3492dc693d5c77895325adb353de72680b750 Mon Sep 17 00:00:00 2001 From: Smriti Doneria Date: Tue, 17 Dec 2024 12:45:08 +0530 Subject: [PATCH] prettier --- .../react/src/views/QuoteMessage/QuoteMessage.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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)` + )} );