mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-19 12:06:42 +08:00
feat: bind length of conversationList to chat count (#116)
This commit is contained in:
@ -66,7 +66,7 @@ export const useSelectParserList = (): Array<{
|
||||
};
|
||||
|
||||
export const useLogout = () => {
|
||||
const dispatch = useDispatch();
|
||||
const dispatch = useDispatch(); // TODO: clear redux state
|
||||
|
||||
const logout = useCallback((): number => {
|
||||
return dispatch<any>({ type: 'loginModel/logout' });
|
||||
|
||||
Reference in New Issue
Block a user