diff --git a/components/dashboard/src/Login.tsx b/components/dashboard/src/Login.tsx index 7710b9330ad3c0..ee2c873e1d3944 100644 --- a/components/dashboard/src/Login.tsx +++ b/components/dashboard/src/Login.tsx @@ -22,6 +22,7 @@ import fresh from "./images/welcome/fresh.svg"; import prebuild from "./images/welcome/prebuild.svg"; import exclamation from "./images/exclamation.svg"; import { getURLHash } from "./App"; +import ErrorMessage from "./components/ErrorMessage"; function Item(props: { icon: string; iconSize?: string; text: string }) { const iconSize = props.iconSize || 28; @@ -225,17 +226,7 @@ export function Login() { )) )} - - {errorMessage && ( -
{errorMessage}
-{props.message}
+{props.message}
+ +