diff --git a/src/app/molecules/sso-buttons/SSOButtons.jsx b/src/app/molecules/sso-buttons/SSOButtons.jsx
index 76f865a..47d001c 100644
--- a/src/app/molecules/sso-buttons/SSOButtons.jsx
+++ b/src/app/molecules/sso-buttons/SSOButtons.jsx
@@ -4,6 +4,8 @@ import './SSOButtons.scss';
import { createTemporaryClient, getLoginFlows, startSsoLogin } from '../../../client/action/auth';
+import Text from '../../atoms/text/Text';
+
function SSOButtons({ homeserver }) {
const [identityProviders, setIdentityProviders] = useState([]);
@@ -39,23 +41,15 @@ function SSOButtons({ homeserver }) {
});
}, [homeserver]);
- // TODO Render all non-icon providers at the end so that they are never inbetween icons.
+ if (identityProviders.length === 0) return <>>;
+
return (