refactor(web): remove typescript
This commit is contained in:
@@ -3,16 +3,12 @@ import Paper from '@mui/material/Paper';
|
||||
import Button from '@mui/material/Button';
|
||||
import Stack from '@mui/material/Stack';
|
||||
import Divider from '@mui/material/Divider';
|
||||
|
||||
import useSamlAuthProviders from 'hooks/useSamlAuthProviders.ee';
|
||||
import useFormatMessage from 'hooks/useFormatMessage';
|
||||
|
||||
function SsoProviders() {
|
||||
const formatMessage = useFormatMessage();
|
||||
const { providers, loading } = useSamlAuthProviders();
|
||||
|
||||
if (!loading && providers.length === 0) return null;
|
||||
|
||||
return (
|
||||
<>
|
||||
<Divider>{formatMessage('loginPage.divider')}</Divider>
|
||||
@@ -36,5 +32,4 @@ function SsoProviders() {
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default SsoProviders;
|
Reference in New Issue
Block a user