diff --git a/packages/astro/src/astro-components/unstyled/SignInButton.astro b/packages/astro/src/astro-components/unstyled/SignInButton.astro index 12b355b3eb0..ed95f51168b 100644 --- a/packages/astro/src/astro-components/unstyled/SignInButton.astro +++ b/packages/astro/src/astro-components/unstyled/SignInButton.astro @@ -1,10 +1,10 @@ --- import type { HTMLTag, Polymorphic } from 'astro/types' -import type { SignInProps } from '@clerk/types' +import type { SignInButtonProps } from '@clerk/types' import type { ButtonProps } from '../../types'; import { addUnstyledAttributeToFirstTag, logAsPropUsageDeprecation } from './utils' -type Props = Polymorphic> +type Props = Polymorphic> & SignInButtonProps; import { generateSafeId } from '@clerk/astro/internal'; @@ -22,7 +22,7 @@ const { signUpFallbackRedirectUrl, signUpForceRedirectUrl, mode, - ...elementProps + ...props } = Astro.props const signInOptions = { @@ -44,20 +44,20 @@ if (asChild) { asChild ? ( ) : ( - + Sign in ) } -