MCPcopy Create free account
hub / github.com/Timonwa/react-chat / googleSignIn

Function googleSignIn

src/components/NavBar.js:10–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8const NavBar = () => {
9 const [user] = useAuthState(auth);
10
11 const googleSignIn = () => {
12 const provider = new GoogleAuthProvider();
13 signInWithPopup(auth, provider);
14 };
15
16 const signOut = () => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected