mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 09:20:15 +01:00
clean up
This commit is contained in:
parent
7987c0100c
commit
0ff3bbb28f
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ export default function TextChat({ messages }) {
|
||||||
const { error, latestMessage } = convo;
|
const { error, latestMessage } = convo;
|
||||||
const { ask, regenerate, stopGenerating } = useMessageHandler();
|
const { ask, regenerate, stopGenerating } = useMessageHandler();
|
||||||
|
|
||||||
const isNotAppendable = (!isSubmitting && latestMessage?.cancelled) || latestMessage?.error;
|
const isNotAppendable = latestMessage?.cancelled || latestMessage?.error;
|
||||||
|
|
||||||
// auto focus to input, when enter a conversation.
|
// auto focus to input, when enter a conversation.
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue