mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-31 01:01:30 +08:00
### What problem does this PR solve? Fix: Reset all data except the first one on the chat page shared with others #3221 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -60,6 +60,7 @@ export const useSendSharedMessage = () => {
|
||||
scrollRef,
|
||||
messageContainerRef,
|
||||
removeAllMessages,
|
||||
removeAllMessagesExceptFirst,
|
||||
} = useSelectDerivedMessages();
|
||||
const [hasError, setHasError] = useState(false);
|
||||
|
||||
@ -149,5 +150,6 @@ export const useSendSharedMessage = () => {
|
||||
scrollRef,
|
||||
messageContainerRef,
|
||||
removeAllMessages,
|
||||
removeAllMessagesExceptFirst,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user