fix: Uncomment navigation to dashboard for authenticated users

This commit is contained in:
web@ppanel 2025-12-29 06:15:39 +00:00
parent f432ba06f9
commit 4d15b2b6fc

View File

@ -15,7 +15,7 @@ export default function Auth() {
const navigate = useNavigate(); const navigate = useNavigate();
useEffect(() => { useEffect(() => {
if (user) { if (user) {
// navigate({ to: "/dashboard" }); navigate({ to: "/dashboard" });
} }
}, [navigate, user]); }, [navigate, user]);