mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-26 17:51:54 +01:00
Copy changes
This commit is contained in:
parent
2032fb10da
commit
80d248e02d
@ -494,7 +494,7 @@ const SubQuestionsDisplay: React.FC<SubQuestionsDisplayProps> = ({
|
||||
).length == memoizedSubQuestions.length;
|
||||
|
||||
const [streamedText, setStreamedText] = useState(
|
||||
!overallAnswerGenerating ? "Summarizing findings" : ""
|
||||
!overallAnswerGenerating ? "Summarize findings" : ""
|
||||
);
|
||||
const [showSummarizing, setShowSummarizing] = useState(
|
||||
finishedGenerating && !overallAnswerGenerating
|
||||
@ -538,8 +538,8 @@ const SubQuestionsDisplay: React.FC<SubQuestionsDisplayProps> = ({
|
||||
}, [memoizedSubQuestions, finishedGenerating]);
|
||||
|
||||
useEffect(() => {
|
||||
if (showSummarizing && streamedText !== "Summarizing findings") {
|
||||
const fullText = "Summarizing findings";
|
||||
if (showSummarizing && streamedText !== "Summarize findings") {
|
||||
const fullText = "Summarize findings";
|
||||
let index = 0;
|
||||
|
||||
const streamInterval = setInterval(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user