MCPcopy Index your code
hub / github.com/FirebaseExtended/reactfire / signIn

Function signIn

example/withSuspense/Auth.tsx:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8const signOut = auth => auth.signOut().then(() => console.log('signed out'));
9const signIn = async auth => {
10 const provider = new GoogleAuthProvider();
11
12 await signInWithPopup(auth, provider);
13}
14
15export const AuthWrapper = ({ children, fallback }: React.PropsWithChildren<{ fallback: JSX.Element }>): JSX.Element => {
16 const { data: signInCheckResult } = useSigninCheck();

Callers 2

SignInFormFunction · 0.70
auth.test.tsxFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected