Explorar el Código

change spinner to component

Tatsuya Ise hace 2 años
padre
commit
5ad7a2f329
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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 { apiv3Post } from '~/client/util/apiv3-client';
 import { toastError } from '~/client/util/toastr';
 import { toastError } from '~/client/util/toastr';
 
 
+import { LoadingSpinnerPulse } from './LoadingSpinnerPulse';
+
 const InstallerForm = memo((): JSX.Element => {
 const InstallerForm = memo((): JSX.Element => {
   const { t, i18n } = useTranslation();
   const { t, i18n } = useTranslation();
 
 
@@ -205,7 +207,7 @@ const InstallerForm = memo((): JSX.Element => {
               <div className="eff"></div>
               <div className="eff"></div>
               <span className="btn-label">
               <span className="btn-label">
                 {isLoading ? (
                 {isLoading ? (
-                  <i className="fa fa-spinner fa-pulse me-1" />
+                  <LoadingSpinnerPulse />
                 ) : (
                 ) : (
                   <i className="icon-user-follow" />
                   <i className="icon-user-follow" />
                 )}
                 )}