WIP
c6351414
1 file(s) · +1 −1
| 1 | 1 | import { createClient } from "@supabase/supabase-js"; |
|
| 2 | 2 | ||
| 3 | 3 | export function SignInButton({ supabaseUrl, supabaseAnonKey }) { |
|
| 4 | - | const supabase = createClient(supabaseUrl, supabaseAnonKey); |
|
| 4 | + | const supabase = createClient(supabaseUrl || "", supabaseAnonKey || ""); |
|
| 5 | 5 | ||
| 6 | 6 | async function signInWithGithub() { |
|
| 7 | 7 | await supabase.auth.signInWithOAuth({ |