diff --git a/frontend/src/Content.tsx b/frontend/src/Content.tsx index 10b230a..50bd624 100644 --- a/frontend/src/Content.tsx +++ b/frontend/src/Content.tsx @@ -95,7 +95,7 @@ export const Content = observer(( marginBlockEnd: 0, textAlign: 'left' }}>{'🤔 Question'} -

+

{question}

diff --git a/frontend/src/ContentLayout.tsx b/frontend/src/ContentLayout.tsx index 2b1897a..be320a2 100644 --- a/frontend/src/ContentLayout.tsx +++ b/frontend/src/ContentLayout.tsx @@ -23,6 +23,7 @@ export const ContentLayout = observer(() => { text={v.answer} evidenceList={v.evidence} question={v.question} failed={false} shareId={v.shareId} + key={v.shareId} />
@@ -33,7 +34,7 @@ export const ContentLayout = observer(() => { diff --git a/frontend/src/Store/ReqStore.ts b/frontend/src/Store/ReqStore.ts index 93abae0..1116f14 100644 --- a/frontend/src/Store/ReqStore.ts +++ b/frontend/src/Store/ReqStore.ts @@ -41,6 +41,7 @@ class reqStore { public question = '' public warning = '' public currentAns: string = '' + public currentQuestion: string = '' private _currentHistory = '' public prevQA: PrevAnsItem[] = [] private _parentId = '' @@ -176,6 +177,7 @@ class reqStore { if (this.isLoading) return this.resetCore() this.isLoading = true + this.currentQuestion = question const fresp = fetch(continueAPI, { method: 'POST', headers: {