import { Button } from '@workspace/ui/components/button'; import { Alert, AlertDescription, AlertTitle } from '@workspace/ui/components/alert'; import { AlertCircle } from 'lucide-react'; import { signIn } from '@/auth'; async function logIn() { 'use server'; await signIn('google', { redirectTo: '/' }); } // export default async function Page() { export default async function Page(props: { searchParams: Promise<{ error?: string }> }) { const searchParams = await props.searchParams; const error = searchParams?.error; return (
Sign in to manage your placements
Empower your journey. Shape the future.