fix: small ui issue (#311)
* fix: unnecessary lines before the chats or prompts Removed unncessary lines if there are no folders before prompts and chats. * added the light mode for scroll down button
This commit is contained in:
@@ -162,7 +162,7 @@ export const Chatbar: FC<Props> = ({
|
||||
conversations={filteredConversations.filter(
|
||||
(conversation) => conversation.folderId,
|
||||
)}
|
||||
folders={folders.filter((folder) => folder.type === 'chat')}
|
||||
folders={folders}
|
||||
onDeleteFolder={onDeleteFolder}
|
||||
onUpdateFolder={onUpdateFolder}
|
||||
selectedConversation={selectedConversation}
|
||||
@@ -196,7 +196,7 @@ export const Chatbar: FC<Props> = ({
|
||||
) : (
|
||||
<div className="flex flex-col gap-3 items-center text-sm leading-normal mt-8 text-white opacity-50">
|
||||
<IconMessagesOff />
|
||||
{t('No conversations.')}
|
||||
{t('No conversations.')}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user