From f7f1a6ee112ed218437689d9cbc5670b92cb9d09 Mon Sep 17 00:00:00 2001 From: CatsJuice Date: Wed, 22 Jan 2025 07:49:58 +0000 Subject: [PATCH] chore(core): update oauth icons (#9796) --- .../frontend/core/src/components/affine/auth/oauth.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/frontend/core/src/components/affine/auth/oauth.tsx b/packages/frontend/core/src/components/affine/auth/oauth.tsx index e109e7a6de..1de97d7ad5 100644 --- a/packages/frontend/core/src/components/affine/auth/oauth.tsx +++ b/packages/frontend/core/src/components/affine/auth/oauth.tsx @@ -3,7 +3,7 @@ import { ServerService } from '@affine/core/modules/cloud'; import { UrlService } from '@affine/core/modules/url'; import { OAuthProviderType } from '@affine/graphql'; import track from '@affine/track'; -import { GithubIcon, GoogleDuotoneIcon } from '@blocksuite/icons/rc'; +import { GithubIcon, GoogleIcon, LockIcon } from '@blocksuite/icons/rc'; import { useLiveData, useService } from '@toeverything/infra'; import { type ReactElement, type SVGAttributes, useCallback } from 'react'; @@ -14,7 +14,7 @@ const OAuthProviderMap: Record< } > = { [OAuthProviderType.Google]: { - icon: , + icon: , }, [OAuthProviderType.GitHub]: { @@ -22,8 +22,7 @@ const OAuthProviderMap: Record< }, [OAuthProviderType.OIDC]: { - // TODO(@catsjuice): Add OIDC icon - icon: , + icon: , }, };