Skip to content

Commit

Permalink
fix ques title
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinZonda committed Jan 8, 2024
1 parent d70264d commit 3449639
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/ContentLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ export const ContentLayout = observer(() => {
<ContentLayoutItem
isMobile={isMobile} loading={ReqStore.isLoading}
text={ReqStore.currentAns} evidenceList={ReqStore.evidenceList}
question={ReqStore.currentQuestion} failed={ReqStore.isFailed}
question={
ReqStore.prevQA && ReqStore.prevQA.length <= 0
? ''
: ReqStore.prevQA[ReqStore.prevQA.length - 1].question} failed={ReqStore.isFailed}
shareId={ReqStore.shareId}
/>

Expand Down

0 comments on commit 3449639

Please sign in to comment.