Przeglądaj źródła

Fix authIcon describing

satof3 2 lat temu
rodzic
commit
a974f325d5
1 zmienionych plików z 5 dodań i 15 usunięć
  1. 5 15
      apps/app/src/components/LoginForm.tsx

+ 5 - 15
apps/app/src/components/LoginForm.tsx

@@ -270,21 +270,11 @@ export const LoginForm = (props: LoginFormProps): JSX.Element => {
 
 
   const renderExternalAuthInput = useCallback((auth) => {
   const renderExternalAuthInput = useCallback((auth) => {
     const authIcon = {
     const authIcon = {
-      google: (
-        <span className="growi-custom-icons align-bottom">google</span>
-      ),
-      github: (
-        <span className="growi-custom-icons align-bottom">github</span>
-      ),
-      facebook: (
-        <span className="growi-custom-icons align-bottom">facebook</span>
-      ),
-      oidc: (
-        <span className="growi-custom-icons align-bottom">openid</span>
-      ),
-      saml: (
-        <span className="material-symbols-outlined align-bottom">key</span>
-      ),
+      google: <span className="growi-custom-icons align-bottom">google</span>,
+      github: <span className="growi-custom-icons align-bottom">github</span>,
+      facebook: <span className="growi-custom-icons align-bottom">facebook</span>,
+      oidc: <span className="growi-custom-icons align-bottom">openid</span>,
+      saml: <span className="material-symbols-outlined align-bottom">key</span>,
     };
     };
     const signin = {
     const signin = {
       google: 'Google',
       google: 'Google',