Ver Fonte

change spinner to component

Tatsuya Ise há 2 anos atrás
pai
commit
5ad7a2f329
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      apps/app/src/components/InstallerForm.tsx

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

@@ -11,6 +11,8 @@ import { i18n as i18nConfig } from '^/config/next-i18next.config';
 import { apiv3Post } from '~/client/util/apiv3-client';
 import { toastError } from '~/client/util/toastr';
 
+import { LoadingSpinnerPulse } from './LoadingSpinnerPulse';
+
 const InstallerForm = memo((): JSX.Element => {
   const { t, i18n } = useTranslation();
 
@@ -205,7 +207,7 @@ const InstallerForm = memo((): JSX.Element => {
               <div className="eff"></div>
               <span className="btn-label">
                 {isLoading ? (
-                  <i className="fa fa-spinner fa-pulse me-1" />
+                  <LoadingSpinnerPulse />
                 ) : (
                   <i className="icon-user-follow" />
                 )}