diff --git a/components/login-button.tsx b/components/login-button.tsx index 8cf2593..2b965e5 100644 --- a/components/login-button.tsx +++ b/components/login-button.tsx @@ -20,7 +20,7 @@ export function LoginButton({ }: LoginButtonProps) { const [isLoading, setIsLoading] = React.useState(false) const searchParams = useSearchParams() - const next = searchParams.get('next') + const next = searchParams.get('next') || '' return (