From 9f8a0cfe2a1521d8c6cda1998dbdc681bb52014d Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Mon, 16 Dec 2024 11:20:38 +0700 Subject: [PATCH] enhancement: move token speed to bottom --- .../ThreadCenterPanel/TextMessage/index.tsx | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/web/screens/Thread/ThreadCenterPanel/TextMessage/index.tsx b/web/screens/Thread/ThreadCenterPanel/TextMessage/index.tsx index f65b9b967f..6bca4fa8d8 100644 --- a/web/screens/Thread/ThreadCenterPanel/TextMessage/index.tsx +++ b/web/screens/Thread/ThreadCenterPanel/TextMessage/index.tsx @@ -80,24 +80,27 @@ const MessageContainer: React.FC<

{displayDate(props.created)}

- {tokenSpeed && - tokenSpeed.message === props.id && - tokenSpeed.tokenSpeed > 0 && ( -

- Token Speed: {Number(tokenSpeed.tokenSpeed).toFixed(2)}t/s -

- )} -
+
+
+ {tokenSpeed && + tokenSpeed.message === props.id && + tokenSpeed.tokenSpeed > 0 && ( +

+ Token Speed: {Number(tokenSpeed.tokenSpeed).toFixed(2)}t/s +

+ )} +
+