Update signInWithOAuth type

cgen-ea6edbe4b57d40e58c00910ec982167b
This commit is contained in:
Builder.io 2025-09-30 08:29:42 +00:00
parent 3217432b3b
commit 4bd79335c9

View file

@ -287,7 +287,7 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({
}
};
const signInWithOAuth = async (provider: "github" | "google") => {
const signInWithOAuth = async (provider: SupportedOAuthProvider) => {
try {
const { data, error } = await supabase.auth.signInWithOAuth({
provider,