We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ea472dd + 30638cf commit de0366eCopy full SHA for de0366e
app/components/chat.tsx
@@ -65,7 +65,7 @@ const Chat = ({
65
const [inputDisabled, setInputDisabled] = useState(false);
66
const [threadId, setThreadId] = useState("");
67
68
- // automitcally scroll to bottom of chat
+ // automatically scroll to bottom of chat
69
const messagesEndRef = useRef<HTMLDivElement | null>(null);
70
const scrollToBottom = () => {
71
messagesEndRef.current?.scrollIntoView({ behavior: "smooth" });
0 commit comments