解决登录问题
All checks were successful
Deploy to Server / deploy (push) Successful in 36s

This commit is contained in:
jeremygan2021
2026-02-24 19:48:41 +08:00
parent 4fe3351393
commit 15a2d66eae

View File

@@ -24,7 +24,7 @@ const { useBreakpoint } = Grid;
const ForumDetail = () => {
const { id } = useParams();
const navigate = useNavigate();
const { user } = useAuth();
const { user, login } = useAuth();
const screens = useBreakpoint();
const isMobile = !screens.md;