(fix/shared) append to right state

This commit is contained in:
ManishMadan2882
2025-05-14 04:15:11 +05:30
parent 06c29500f2
commit 2855283a2c

View File

@@ -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,
}),
);