diff --git a/.betterer.results b/.betterer.results index 75aad0a5eb0..6b23e7d65a7 100644 --- a/.betterer.results +++ b/.betterer.results @@ -1169,9 +1169,6 @@ exports[`better eslint`] = { "public/app/core/components/ForgottenPassword/ChangePassword.tsx:5381": [ [0, 0, 0, "\'VerticalGroup\' import from \'@grafana/ui\' is restricted from being used by a pattern. Use Stack component instead.", "0"] ], - "public/app/core/components/ForgottenPassword/ForgottenPassword.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/GraphNG/GraphNG.tsx:5381": [ [0, 0, 0, "Unexpected any. Specify a different type.", "0"], [0, 0, 0, "Unexpected any. Specify a different type.", "1"], diff --git a/public/app/core/components/ForgottenPassword/ForgottenPassword.tsx b/public/app/core/components/ForgottenPassword/ForgottenPassword.tsx index c4ab8a1b183..2cbf681224e 100644 --- a/public/app/core/components/ForgottenPassword/ForgottenPassword.tsx +++ b/public/app/core/components/ForgottenPassword/ForgottenPassword.tsx @@ -4,7 +4,7 @@ import { useForm } from 'react-hook-form'; import { GrafanaTheme2 } from '@grafana/data'; import { getBackendSrv } from '@grafana/runtime'; -import { Field, Input, Button, Legend, Container, useStyles2, HorizontalGroup, LinkButton } from '@grafana/ui'; +import { Field, Input, Button, Legend, Container, useStyles2, LinkButton, Stack } from '@grafana/ui'; import config from 'app/core/config'; interface EmailDTO { @@ -63,12 +63,12 @@ export const ForgottenPassword = () => { {...register('userOrEmail', { required: 'Email or username is required' })} /> - + Back to login - +

Did you forget your username or email? Contact your Grafana administrator.