From 15a2d66eae1795153814c76027f9238fc8efa9e7 Mon Sep 17 00:00:00 2001 From: jeremygan2021 Date: Tue, 24 Feb 2026 19:48:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=99=BB=E5=BD=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/ForumDetail.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/ForumDetail.jsx b/frontend/src/pages/ForumDetail.jsx index 9ed1fdd..04d10d5 100644 --- a/frontend/src/pages/ForumDetail.jsx +++ b/frontend/src/pages/ForumDetail.jsx @@ -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;