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;