This commit is contained in:
hailin 2025-03-12 13:42:20 +08:00
parent a11069e7a2
commit c292268bc8
1 changed files with 20 additions and 20 deletions

View File

@ -31,24 +31,24 @@ export function OAuthSignIn() {
// }
// };
// return (
// <div className="flex flex-col gap-2">
// <OAuthButton onClick={() => oauthSignIn("oauth_github")}>
// {isLoading === "oauth_github" ? (
// <Loading className="w-6 h-6" />
// ) : (
// <IconGitHub className="w-6 h-6" />
// )}
// GitHub
// </OAuthButton>
// <OAuthButton onClick={() => oauthSignIn("oauth_google")}>
// {isLoading === "oauth_google" ? (
// <Loading className="w-6 h-6" />
// ) : (
// <IconGoogle className="w-6 h-6" />
// )}
// Google
// </OAuthButton>
// </div>
// );
return (
<div className="flex flex-col gap-2">
{/* <OAuthButton onClick={() => oauthSignIn("oauth_github")}>
{isLoading === "oauth_github" ? (
<Loading className="w-6 h-6" />
) : (
<IconGitHub className="w-6 h-6" />
)}
GitHub
</OAuthButton>
<OAuthButton onClick={() => oauthSignIn("oauth_google")}>
{isLoading === "oauth_google" ? (
<Loading className="w-6 h-6" />
) : (
<IconGoogle className="w-6 h-6" />
)}
Google
</OAuthButton> */}
</div>
);
}