mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 03:10:15 +01:00
fix: reset submission when convo clears
This commit is contained in:
parent
23de688bf3
commit
f1aabfa543
8 changed files with 13 additions and 3 deletions
|
|
@ -20,6 +20,9 @@ const currentSlice = createSlice({
|
|||
},
|
||||
setSubmission: (state, action) => {
|
||||
state.submission = action.payload;
|
||||
if (Object.keys(action.payload).length === 0) {
|
||||
state.isSubmitting = false;
|
||||
}
|
||||
},
|
||||
setStopStream: (state, action) => {
|
||||
state.stopStream = action.payload;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue