From 19e158db3ded0ff3c1ee9a63e2973d0aa0a7f4d4 Mon Sep 17 00:00:00 2001 From: Harish Mohan Raj Date: Mon, 6 Nov 2023 16:23:08 +0530 Subject: [PATCH] Fix conversation font color --- src/client/ChatPage.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client/ChatPage.jsx b/src/client/ChatPage.jsx index 15c74a0..9da35d6 100644 --- a/src/client/ChatPage.jsx +++ b/src/client/ChatPage.jsx @@ -24,7 +24,7 @@ const ChatsList = ({ chats }) => { to="/chat/:id?" params={{ id: chat.id }}>
  • -
    +
    {chat.id} @@ -45,12 +45,13 @@ const ConversationsList = ({ conversations }) => {
    {filteredConversations.map((conversation, idx) => { const conversationBgColor = conversation.role === "user" ? "captn-light-blue" : "captn-dark-blue"; + const conversationTextColor = conversation.role === "user" ? "captn-dark-blue" : "captn-light-cream"; const conversationLogo = conversation.role === "user" ?
    You
    : captn logo return (
    -
    +
    -
    +
    {conversationLogo}