diff --git a/public/index.html b/public/index.html index 339ccceb..cb00ac2f 100644 --- a/public/index.html +++ b/public/index.html @@ -45,10 +45,7 @@
<% if (process.env.REACT_APP_TYPE === 'ott') { %> - + <% } %> diff --git a/src/features/AuthServiceApp/components/Login/index.tsx b/src/features/AuthServiceApp/components/Login/index.tsx index fa3bcd22..f7067db2 100644 --- a/src/features/AuthServiceApp/components/Login/index.tsx +++ b/src/features/AuthServiceApp/components/Login/index.tsx @@ -20,6 +20,7 @@ import { Error, LanguageSelectWrapper, Wrapper, + ScLoaderWrapper, } from '../../styled' import { RegisterButton } from './styled' import { CompanyInfo } from '../../../CompanyInfo' @@ -95,13 +96,18 @@ const Login = () => { - - { - isFetching - ? - : - } - + { + isFetching + ? ( + + + + ) : ( + + + + ) + } diff --git a/src/features/AuthServiceApp/styled.tsx b/src/features/AuthServiceApp/styled.tsx index e74508be..32fa799f 100644 --- a/src/features/AuthServiceApp/styled.tsx +++ b/src/features/AuthServiceApp/styled.tsx @@ -142,6 +142,7 @@ export const Container = styled.div` flex-direction: row; align-items: center; ` + export const FormText = styled.span` justify-content: flex-start; text-align: center; @@ -151,3 +152,9 @@ export const FormText = styled.span` width: 100%; cursor: pointer; ` +export const ScLoaderWrapper = styled.span` + width: 100%; + display: flex; + justify-content: center; + align-items: center; +`