mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 18:30:15 +01:00
fix: don't reset isSubmitting in useEffect of submission
This commit is contained in:
parent
ce78123369
commit
e8611a1d07
1 changed files with 0 additions and 1 deletions
|
|
@ -267,7 +267,6 @@ export default function TextChat({ messages }) {
|
|||
events.stream();
|
||||
|
||||
return () => {
|
||||
dispatch(setSubmitState(false));
|
||||
events.removeEventListener('message', onMessage);
|
||||
const isCancelled = events.readyState <= 1;
|
||||
events.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue