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";
27
27
import { IconGitpodEngraved } from "./icons/GitpodEngraved" ;
28
28
import { IconEarlyAccess } from "./icons/IconEarlyAccess" ;
29
29
import { useTheme } from "./theme-context" ;
30
+ import { LoadingState } from "@podkit/loading/LoadingState" ;
30
31
31
32
export function markLoggedIn ( ) {
32
33
document . cookie = GitpodCookie . generateCookie ( window . location . hostname ) ;
@@ -58,6 +59,10 @@ export const Login: FC<LoginProps> = ({ onLoggedIn }) => {
58
59
const providerFromContext =
59
60
( hostFromContext && authProviders . data ?. find ( ( provider ) => provider . host === hostFromContext ) ) || undefined ;
60
61
62
+ if ( authProviders . isLoading ) {
63
+ return < LoadingState /> ;
64
+ }
65
+
61
66
return (
62
67
< div
63
68
id = "login-container"
@@ -325,7 +330,7 @@ const LeftPanel = () => {
325
330
{
326
331
title : "Local environments to replace Docker Desktop" ,
327
332
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 " ,
329
334
} ,
330
335
{
331
336
title : "Automate common development workflows" ,
You can’t perform that action at this time.
0 commit comments