mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 09:59:01 +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:
parent
833e3a08cd
commit
2368d738ab
@ -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(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user