Update signInWithOAuth type
cgen-ea6edbe4b57d40e58c00910ec982167b
This commit is contained in:
parent
3217432b3b
commit
4bd79335c9
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const signInWithOAuth = async (provider: "github" | "google") => {
|
const signInWithOAuth = async (provider: SupportedOAuthProvider) => {
|
||||||
try {
|
try {
|
||||||
const { data, error } = await supabase.auth.signInWithOAuth({
|
const { data, error } = await supabase.auth.signInWithOAuth({
|
||||||
provider,
|
provider,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue