'use client' import { createClient } from '@/utils/supabase/client' export default function GoogleSignInButton() { const handleGoogleLogin = async () => { const supabase = createClient() await supabase.auth.signInWithOAuth({ provider: 'google', options: { redirectTo: `${window.location.origin}/auth/callback`, }, }) } return ( ) }