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:
Syed Muzamil
2023-03-31 01:01:57 +05:30
committed by GitHub
parent ef8c1b2c33
commit 5cdd3e56b7
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -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>