diff --git a/.betterer.results b/.betterer.results
index f3221ddfb0d..aaa293b9b8b 100644
--- a/.betterer.results
+++ b/.betterer.results
@@ -1178,9 +1178,6 @@ exports[`better eslint`] = {
[0, 0, 0, "Do not use any type assertions.", "8"],
[0, 0, 0, "Do not use any type assertions.", "9"]
],
- "public/app/core/components/Login/LoginPage.tsx:5381": [
- [0, 0, 0, "\'HorizontalGroup\' import from \'@grafana/ui\' is restricted from being used by a pattern. Use Stack component instead.", "0"]
- ],
"public/app/core/components/Login/LoginServiceButtons.tsx:5381": [
[0, 0, 0, "\'VerticalGroup\' import from \'@grafana/ui\' is restricted from being used by a pattern. Use Stack component instead.", "0"]
],
diff --git a/public/app/core/components/Login/LoginPage.tsx b/public/app/core/components/Login/LoginPage.tsx
index bdefbfd5696..8c0c3d51044 100644
--- a/public/app/core/components/Login/LoginPage.tsx
+++ b/public/app/core/components/Login/LoginPage.tsx
@@ -5,7 +5,7 @@ import React from 'react';
// Components
import { GrafanaTheme2 } from '@grafana/data';
import { config } from '@grafana/runtime';
-import { Alert, HorizontalGroup, LinkButton, useStyles2 } from '@grafana/ui';
+import { Alert, LinkButton, Stack, useStyles2 } from '@grafana/ui';
import { Branding } from 'app/core/components/Branding/Branding';
import { t, Trans } from 'app/core/internationalization';
@@ -47,7 +47,7 @@ export const LoginPage = () => {
{!disableLoginForm && (
-
+
{!config.auth.disableLogin && (
{
Forgot your password?
)}
-
+
)}