I am starting on React and I am finding it difficult to implement the email and password in the context.
The example I'm following only shows no parameters.
Ty for any help
async function signIn(email: string, password: string) { const response = await auth.signIn(email, password); } return (<AuthContext.Provider value={{signed: !!user, user: user, loading, signIn: signIn(), logout}}> {children}</AuthContext.Provider> );