chore: delete code light theme, like chatgpt (#186)
This commit is contained in:
committed by
GitHub
parent
675da9431d
commit
0f07812cc5
@@ -30,7 +30,6 @@ interface Props {
|
||||
modelError: ErrorMessage | null;
|
||||
messageError: boolean;
|
||||
loading: boolean;
|
||||
lightMode: 'light' | 'dark';
|
||||
onSend: (message: Message, deleteCount?: number) => void;
|
||||
onUpdateConversation: (
|
||||
conversation: Conversation,
|
||||
@@ -49,7 +48,6 @@ export const Chat: FC<Props> = ({
|
||||
modelError,
|
||||
messageError,
|
||||
loading,
|
||||
lightMode,
|
||||
onSend,
|
||||
onUpdateConversation,
|
||||
onEditMessage,
|
||||
@@ -163,7 +161,6 @@ export const Chat: FC<Props> = ({
|
||||
key={index}
|
||||
message={message}
|
||||
messageIndex={index}
|
||||
lightMode={lightMode}
|
||||
onEditMessage={onEditMessage}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user