Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
romainhuet committed May 7, 2024
2 parents ea472dd + 30638cf commit de0366e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Chat = ({
const [inputDisabled, setInputDisabled] = useState(false);
const [threadId, setThreadId] = useState("");

// automitcally scroll to bottom of chat
// automatically scroll to bottom of chat
const messagesEndRef = useRef<HTMLDivElement | null>(null);
const scrollToBottom = () => {
messagesEndRef.current?.scrollIntoView({ behavior: "smooth" });
Expand Down

0 comments on commit de0366e

Please sign in to comment.