### 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
1 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue