fix: chore UI (#2125)

This commit is contained in:
Louis 2024-02-22 19:38:56 +07:00 committed by GitHub
parent 2f4bffdbef
commit 98b7fd2c3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ const ModalTroubleShooting: React.FC = () => {
> >
Discord Discord
</a> </a>
&nbsp; & send it to #🆘|get-help channel for further support. &nbsp;& send it to #🆘|get-help channel for further support.
</p> </p>
</li> </li>
</ul> </ul>

View File

@ -207,7 +207,7 @@ const SimpleTextMessage: React.FC<ThreadMessage> = (props) => {
{messages[messages.length - 1]?.id === props.id && {messages[messages.length - 1]?.id === props.id &&
(props.status === MessageStatus.Pending || tokenSpeed > 0) && ( (props.status === MessageStatus.Pending || tokenSpeed > 0) && (
<p className="absolute right-8 text-xs font-medium text-foreground"> <p className="absolute right-8 text-xs font-medium text-foreground">
Token Speed: {Number(tokenSpeed).toFixed(2)}/s Token Speed: {Number(tokenSpeed).toFixed(2)}t/s
</p> </p>
)} )}
</div> </div>