Parcourir la source

remove React.Fragment

kaori il y a 3 ans
Parent
commit
1c3b56fd85

+ 4 - 5
packages/app/src/components/Admin/Security/OidcSecuritySettingContents.jsx

@@ -44,8 +44,7 @@ class OidcSecurityManagementContents extends React.Component {
 
 
     return (
     return (
 
 
-      <React.Fragment>
-
+      <>
         <h2 className="alert-anchor border-bottom">
         <h2 className="alert-anchor border-bottom">
           {t('security_setting.OAuth.OIDC.name')}
           {t('security_setting.OAuth.OIDC.name')}
         </h2>
         </h2>
@@ -92,7 +91,7 @@ class OidcSecurityManagementContents extends React.Component {
         </div>
         </div>
 
 
         {isOidcEnabled && (
         {isOidcEnabled && (
-          <React.Fragment>
+          <>
 
 
             <h3 className="border-bottom">{t('security_setting.configuration')}</h3>
             <h3 className="border-bottom">{t('security_setting.configuration')}</h3>
 
 
@@ -443,7 +442,7 @@ class OidcSecurityManagementContents extends React.Component {
                 </button>
                 </button>
               </div>
               </div>
             </div>
             </div>
-          </React.Fragment>
+          </>
         )}
         )}
 
 
 
 
@@ -461,7 +460,7 @@ class OidcSecurityManagementContents extends React.Component {
           </ol>
           </ol>
         </div>
         </div>
 
 
-      </React.Fragment>
+      </>
     );
     );
   }
   }