Skip to content

Commit

Permalink
fix for login
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanm committed Mar 8, 2024
1 parent 8e5e475 commit c710dc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ export const Login = () => {

const handleSignIn = async () => {
localStorage.setItem("loading-google", "true");
await signInWithPopup(auth, provider);
// await signInWithPopup(auth, provider);
signInWithRedirect(auth, provider);
// navigate("/", { replace: true });
};

Expand Down

0 comments on commit c710dc8

Please sign in to comment.