mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 10:15:21 +00:00
(fix/shared) append to right state
This commit is contained in:
1 parent
06c29500f2
commit
2855283a2c
1 file changed
+1
-1
@@ -72,7 +72,7 @@ export const fetchSharedAnswer = createAsyncThunk<Answer, { question: string }>(
|
||||
dispatch(sharedConversationSlice.actions.setStatus('failed'));
|
||||
dispatch(
|
||||
sharedConversationSlice.actions.raiseError({
|
||||
index: state.conversation.queries.length - 1,
|
||||
index: state.sharedConversation.queries.length - 1,
|
||||
message: data.error,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user