style: improve code formatting in chat.tsx file

This commit is contained in:
dakai 2024-10-06 10:54:12 +08:00
parent 83cf5f01aa
commit 52885df197
1 changed files with 3 additions and 2 deletions

View File

@ -1959,7 +1959,8 @@ function _Chat() {
> >
<div <div
className={ className={
styles["chat-message-item-file-icon"] styles["chat-message-item-file-icon"] +
" no-dark"
} }
> >
<FileIcon {...style} /> <FileIcon {...style} />
@ -2079,7 +2080,7 @@ function _Chat() {
return ( return (
<div key={index} className={styles["attach-file"]}> <div key={index} className={styles["attach-file"]}>
<div <div
className={styles["attach-file-icon"]} className={styles["attach-file-icon"] + " no-dark"}
key={extension} key={extension}
> >
<FileIcon {...style} /> <FileIcon {...style} />