From 481c339d1cd0dd837ebb6ad09b11b58ee9327aad Mon Sep 17 00:00:00 2001 From: Mckay Wrigley Date: Sat, 18 Mar 2023 22:27:50 -0600 Subject: [PATCH] slight input ui tweak --- components/Chat/Chat.tsx | 9 ++++++--- components/Chat/ChatInput.tsx | 4 +--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/components/Chat/Chat.tsx b/components/Chat/Chat.tsx index 37e31a2..fd2b71d 100644 --- a/components/Chat/Chat.tsx +++ b/components/Chat/Chat.tsx @@ -8,7 +8,7 @@ import { ModelSelect } from "./ModelSelect"; interface Props { model: OpenAIModel; messages: Message[]; - messageIsStreaming: boolean, + messageIsStreaming: boolean; loading: boolean; lightMode: "light" | "dark"; onSend: (message: Message) => void; @@ -57,8 +57,11 @@ export const Chat: FC = ({ model, messages, messageIsStreaming, loading, )} -
- +
+
); diff --git a/components/Chat/ChatInput.tsx b/components/Chat/ChatInput.tsx index 2afcf3c..b25427d 100644 --- a/components/Chat/ChatInput.tsx +++ b/components/Chat/ChatInput.tsx @@ -52,15 +52,13 @@ export const ChatInput: FC = ({ onSend, messageIsStreaming }) => { return (
-
+