mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
(fix/shared) append to right state
This commit is contained in:
@@ -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