Skip to content

Commit 9cdee44

Browse files
committed
u
1 parent 571bb5e commit 9cdee44

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

site/src/api/api.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,10 @@ class ApiMethods {
14771477
return response.data;
14781478
};
14791479

1480-
getGroup = async (orgId: string, groupName: string): Promise<TypesGen.Group> => {
1480+
getGroup = async (
1481+
orgId: string,
1482+
groupName: string,
1483+
): Promise<TypesGen.Group> => {
14811484
const response = await this.axios.get(
14821485
`/api/v2/organizations/${orgId}/groups/${groupName}`,
14831486
);

site/src/pages/ManagementSettingsPage/GroupsPage/GroupsPage.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ import { groups } from "api/queries/groups";
99
import { displayError } from "components/GlobalSnackbar/utils";
1010
import { PageHeader, PageHeaderTitle } from "components/PageHeader/PageHeader";
1111
import { useAuthenticated } from "contexts/auth/RequireAuth";
12-
import { useDashboard } from "modules/dashboard/useDashboard";
1312
import { useFeatureVisibility } from "modules/dashboard/useFeatureVisibility";
1413
import { pageTitle } from "utils/page";
15-
import GroupsPageView from "./GroupsPageView";
1614
import { useOrganizationSettings } from "../ManagementSettingsLayout";
15+
import GroupsPageView from "./GroupsPageView";
1716

1817
export const GroupsPage: FC = () => {
1918
const { permissions } = useAuthenticated();

site/src/pages/UsersPage/UsersLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import { Margins } from "components/Margins/Margins";
1313
import { PageHeader, PageHeaderTitle } from "components/PageHeader/PageHeader";
1414
import { TAB_PADDING_Y, TabLink, Tabs, TabsList } from "components/Tabs/Tabs";
1515
import { useAuthenticated } from "contexts/auth/RequireAuth";
16+
import { useDashboard } from "modules/dashboard/useDashboard";
1617
import { useFeatureVisibility } from "modules/dashboard/useFeatureVisibility";
1718
import { USERS_LINK } from "modules/navigation";
18-
import { useDashboard } from "modules/dashboard/useDashboard";
1919

2020
export const UsersLayout: FC = () => {
2121
const { permissions } = useAuthenticated();

0 commit comments

Comments
 (0)