File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import { LinkButton } from "@podkit/buttons/LinkButton";
2727import { IconGitpodEngraved } from "./icons/GitpodEngraved" ;
2828import { IconEarlyAccess } from "./icons/IconEarlyAccess" ;
2929import { useTheme } from "./theme-context" ;
30+ import { LoadingState } from "@podkit/loading/LoadingState" ;
3031
3132export function markLoggedIn ( ) {
3233 document . cookie = GitpodCookie . generateCookie ( window . location . hostname ) ;
@@ -58,6 +59,10 @@ export const Login: FC<LoginProps> = ({ onLoggedIn }) => {
5859 const providerFromContext =
5960 ( hostFromContext && authProviders . data ?. find ( ( provider ) => provider . host === hostFromContext ) ) || undefined ;
6061
62+ if ( authProviders . isLoading ) {
63+ return < LoadingState /> ;
64+ }
65+
6166 return (
6267 < div
6368 id = "login-container"
@@ -325,7 +330,7 @@ const LeftPanel = () => {
325330 {
326331 title : "Local environments to replace Docker Desktop" ,
327332 description :
328- "Built-in Linux virtualization to run Dev Container without Docker Desktop on MacOS " ,
333+ "Built-in Linux virtualization to run Dev Container without Docker Desktop on macOS " ,
329334 } ,
330335 {
331336 title : "Automate common development workflows" ,
You can’t perform that action at this time.
0 commit comments