balina
Explore posts from serversWWasp-lang
•Created by balina on 7/18/2024 in #đŸ™‹questions
Is there a way automatically navigate to another page
Hi, i want to add a logic in login and register page if user already loginned then login page must navigate to main page
const { data: user } = useAuth();
i can get users data to check if user loginned or not but i can't find any thing in documentation for auto navigation like useNavigate
16 replies