diff --git a/apps/dashboard/app/auth/oauth-button.tsx b/apps/dashboard/app/auth/oauth-button.tsx index 2b680cebf0..4bafd657ea 100644 --- a/apps/dashboard/app/auth/oauth-button.tsx +++ b/apps/dashboard/app/auth/oauth-button.tsx @@ -1,15 +1,15 @@ "use client"; -import type { PropsWithChildren } from "react"; +import type { ComponentProps } from "react"; -type Props = { - onClick: () => Promise; -}; -export const OAuthButton: React.FC> = ({ onClick, children }) => { +type ButtonElementProps = ComponentProps<"button">; + +export const OAuthButton: React.FC = ({ onClick, disabled, children }) => { return (