Skip to content

Commit

Permalink
Merge pull request openai#12 from KotaIkehara/fix/typo-in-chat
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
romainhuet committed May 7, 2024
2 parents ce8e942 + a9e9481 commit 30638cf
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(null);
const scrollToBottom = () => {
messagesEndRef.current?.scrollIntoView({ behavior: "smooth" });
Expand Down

0 comments on commit 30638cf

Please sign in to comment.