From 2855283a2c0b96be3a44c7a8b25fa88abe44b359 Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Wed, 14 May 2025 04:15:11 +0530 Subject: [PATCH] (fix/shared) append to right state --- frontend/src/conversation/sharedConversationSlice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/conversation/sharedConversationSlice.ts b/frontend/src/conversation/sharedConversationSlice.ts index 4f784ad2..f0482fa5 100644 --- a/frontend/src/conversation/sharedConversationSlice.ts +++ b/frontend/src/conversation/sharedConversationSlice.ts @@ -72,7 +72,7 @@ export const fetchSharedAnswer = createAsyncThunk( dispatch(sharedConversationSlice.actions.setStatus('failed')); dispatch( sharedConversationSlice.actions.raiseError({ - index: state.conversation.queries.length - 1, + index: state.sharedConversation.queries.length - 1, message: data.error, }), );