mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-31 07:36:46 +08:00
Fix: When large models output data rapidly, the scrollbar cannot remain at the bottom. #12701 (#12702)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -2,7 +2,7 @@ import { useAuth } from '@/hooks/auth-hooks';
|
||||
import { redirectToLogin } from '@/utils/authorization-util';
|
||||
import { Outlet } from 'react-router';
|
||||
|
||||
export default () => {
|
||||
export default function AuthWrapper() {
|
||||
const { isLogin } = useAuth();
|
||||
if (isLogin === true) {
|
||||
return <Outlet />;
|
||||
@ -11,4 +11,4 @@ export default () => {
|
||||
}
|
||||
|
||||
return <></>;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user