fix syntax

This commit is contained in:
Mckay Wrigley 2023-03-18 17:56:55 -06:00
parent fe7d1a6ab2
commit 396fe4ec6f
1 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@ import { IconSend } from "@tabler/icons-react";
import { FC, KeyboardEvent, useEffect, useRef, useState } from "react";
interface Props {
messageIsStreaming: boolean,
messageIsStreaming: boolean;
onSend: (message: Message) => void;
}
@ -59,10 +59,10 @@ export const ChatInput: FC<Props> = ({ onSend, messageIsStreaming }) => {
style={{
resize: "none",
bottom: `${textareaRef?.current?.scrollHeight}px`,
height: 'auto',
minHeight: '100px',
maxHeight: '400px',
overflow: 'auto',
height: "auto",
minHeight: "100px",
maxHeight: "400px",
overflow: "auto"
}}
placeholder="Type a message..."
value={content}