优化登录重试与配置清理
This commit is contained in:
@@ -12,7 +12,8 @@ import ProxyPage from './pages/ProxyPage';
|
||||
import UsersPage from './pages/UsersPage';
|
||||
import CookiePage from './pages/CookiePage';
|
||||
import { getUser } from './store/auth';
|
||||
import { ThemeProvider, useTheme } from './store/theme';
|
||||
import { ThemeProvider } from './store/theme';
|
||||
import { useTheme } from './store/useTheme';
|
||||
|
||||
function AppContent() {
|
||||
// 用 state 驱动重渲染,登录/登出时调 refreshAuth()
|
||||
|
||||
Reference in New Issue
Block a user