diff --git a/app/components/chat-list.tsx b/app/components/chat-list.tsx index 8ad2b7dc0..916fd1a59 100644 --- a/app/components/chat-list.tsx +++ b/app/components/chat-list.tsx @@ -35,9 +35,11 @@ export function ChatItem(props: {
{props.time}
-
- -
+ {!isMobileScreen() ? ( +
+ +
+ ) : null} ); } @@ -63,7 +65,8 @@ export function ChatList() { selected={i === selectedIndex} onClick={() => selectSession(i)} onDelete={() => - (!isMobileScreen() || confirm(Locale.Home.DeleteChat)) && + !isMobileScreen() && + confirm(Locale.Home.DeleteChat) && removeSession(i) } />