mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? fix: Search page search results are cleared after output #2677 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -94,9 +94,6 @@ export const useSendQuestion = (kbIds: string[]) => {
|
|||||||
if (!isEmpty(answer)) {
|
if (!isEmpty(answer)) {
|
||||||
setCurrentAnswer(answer);
|
setCurrentAnswer(answer);
|
||||||
}
|
}
|
||||||
return () => {
|
|
||||||
setCurrentAnswer({} as IAnswer);
|
|
||||||
};
|
|
||||||
}, [answer]);
|
}, [answer]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user