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