✨ fix: Uncomment navigation to dashboard for authenticated users
This commit is contained in:
parent
f432ba06f9
commit
4d15b2b6fc
@ -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]);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user