Closed Thenlie closed 2 years ago
Ensured users can only access the game when logged in. Also prevent users from logging in or signing up when they are already logged in.
NOTE: Might want to refactor this to redirect the user on the backend later on
closes #37
Oops, on main
Added route protection conditionals
Ensured users can only access the game when logged in. Also prevent users from logging in or signing up when they are already logged in.
closes #37