Hi all,
I am trying to redirect user when he just copy and paste the link of particular page which appeared after sign in. I only functional component in my code. I also try to add JavaScript redirect rule indies useEffect then it redirect after render whole component which is not good practice. So I try to do that through server side but it gives me error like “window is not defined”.
Anybody help?
Top comments (0)