diff --git a/components/dashboard/src/Login.tsx b/components/dashboard/src/Login.tsx index 27d5ac2c85079d..093a5af6d938b4 100644 --- a/components/dashboard/src/Login.tsx +++ b/components/dashboard/src/Login.tsx @@ -27,6 +27,7 @@ import { LinkButton } from "@podkit/buttons/LinkButton"; import { IconGitpodEngraved } from "./icons/GitpodEngraved"; import { IconEarlyAccess } from "./icons/IconEarlyAccess"; import { useTheme } from "./theme-context"; +import { LoadingState } from "@podkit/loading/LoadingState"; export function markLoggedIn() { document.cookie = GitpodCookie.generateCookie(window.location.hostname); @@ -58,6 +59,10 @@ export const Login: FC = ({ onLoggedIn }) => { const providerFromContext = (hostFromContext && authProviders.data?.find((provider) => provider.host === hostFromContext)) || undefined; + if (authProviders.isLoading) { + return ; + } + return (
{ { title: "Local environments to replace Docker Desktop", description: - "Built-in Linux virtualization to run Dev Container without Docker Desktop on MacOS", + "Built-in Linux virtualization to run Dev Container without Docker Desktop on macOS", }, { title: "Automate common development workflows",