diff --git a/.betterer.results b/.betterer.results index eba0e4ac337..30699906dd9 100644 --- a/.betterer.results +++ b/.betterer.results @@ -3806,9 +3806,6 @@ exports[`better eslint`] = { "public/app/features/org/OrgDetailsPage.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/features/org/SelectOrgPage.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/features/org/state/actions.ts:5381": [ [0, 0, 0, "Unexpected any. Specify a different type.", "0"] ], @@ -3969,9 +3966,6 @@ exports[`better eslint`] = { [0, 0, 0, "Do not use any type assertions.", "2"], [0, 0, 0, "Do not use any type assertions.", "3"] ], - "public/app/features/profile/ChangePasswordForm.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/features/profile/UserProfileEditPage.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/features/org/SelectOrgPage.tsx b/public/app/features/org/SelectOrgPage.tsx index 4e548f86fb5..d1fcf28162f 100644 --- a/public/app/features/org/SelectOrgPage.tsx +++ b/public/app/features/org/SelectOrgPage.tsx @@ -3,7 +3,7 @@ import { connect, ConnectedProps } from 'react-redux'; import { useEffectOnce } from 'react-use'; import { config } from '@grafana/runtime'; -import { Button, HorizontalGroup } from '@grafana/ui'; +import { Button, Stack } from '@grafana/ui'; import { Page } from 'app/core/components/Page/Page'; import { StoreState, UserOrg } from 'app/types'; @@ -53,14 +53,14 @@ export const SelectOrgPage = ({ setUserOrganization, getUserOrganizations, userO You have been invited to another organization! Please select which organization that you want to use right now. You can change this later at any time.

- + {userOrgs && userOrgs.map((org) => ( ))} - + diff --git a/public/app/features/profile/ChangePasswordForm.tsx b/public/app/features/profile/ChangePasswordForm.tsx index a4aa7cd308a..9c4aa22d7dd 100644 --- a/public/app/features/profile/ChangePasswordForm.tsx +++ b/public/app/features/profile/ChangePasswordForm.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; -import { Button, Field, HorizontalGroup, LinkButton } from '@grafana/ui'; +import { Button, Field, LinkButton, Stack } from '@grafana/ui'; import { Form } from 'app/core/components/Form/Form'; import { ValidationLabels, @@ -118,14 +118,14 @@ export const ChangePasswordForm = ({ user, onChangePassword, isSaving }: Props) })} /> - + Cancel - + ); }}