mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-30 15:16:45 +08:00
Refactor: UmiJs -> Vite (#12410)
### What problem does this PR solve? Refactor: UmiJs -> Vite+React ### Type of change - [x] Refactoring --------- Co-authored-by: Liu An <asiro@qq.com>
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { useAuth } from '@/hooks/auth-hooks';
|
||||
import { redirectToLogin } from '@/utils/authorization-util';
|
||||
import { Outlet } from 'umi';
|
||||
import { Outlet } from 'react-router';
|
||||
|
||||
export default () => {
|
||||
const { isLogin } = useAuth();
|
||||
|
||||
Reference in New Issue
Block a user