Tatsuya Ise 2 anni fa
parent
commit
48be4c467f
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. 7 1
      apps/app/src/components/InstallerForm.tsx

+ 7 - 1
apps/app/src/components/InstallerForm.tsx

@@ -203,7 +203,13 @@ const InstallerForm = memo((): JSX.Element => {
               disabled={isLoading}
             >
               <div className="eff"></div>
-              <span className="btn-label"><i className={isLoading ? 'fa fa-spinner fa-pulse me-1' : 'icon-user-follow'} /></span>
+              <span className="btn-label">
+                {isLoading ? (
+                  <i className="fa fa-spinner fa-pulse me-1" />
+                ) : (
+                  <i className="icon-user-follow" />
+                )}
+              </span>
               <span className="btn-label-text">{ t('Create') }</span>
             </button>
           </div>