MCPcopy Create free account
hub / github.com/Bitbox-Connect/Bitbox / onGoogleSignIn

Function onGoogleSignIn

client/src/component/Signup.jsx:84–93  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

82 };
83
84 const onGoogleSignIn = (e) => {
85 e.preventDefault();
86 if (!isLoggedIn) {
87 setLoggedIn(true);
88 doSignInWithGoogle().catch((err) => {
89 console.log(err);
90 setLoggedIn(false);
91 });
92 }
93 };
94
95 const signUpWithEmailPassword = async (email, name, password) => {
96 console.log(email)

Callers

nothing calls this directly

Calls 1

doSignInWithGoogleFunction · 0.90

Tested by

no test coverage detected