Skip to content

Commit 76a544c

Browse files
committed
🧹
1 parent 8ad3a18 commit 76a544c

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

site/src/api/queries/templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { MutationOptions, QueryClient, QueryOptions } from "react-query";
2-
import { API, GetTemplateOptions } from "api/api";
2+
import { API, type GetTemplateOptions } from "api/api";
33
import type {
44
CreateTemplateRequest,
55
CreateTemplateVersionRequest,

site/src/modules/dashboard/DashboardProvider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ import { useQuery } from "react-query";
33
import { appearance } from "api/queries/appearance";
44
import { entitlements } from "api/queries/entitlements";
55
import { experiments } from "api/queries/experiments";
6+
import { organizations } from "api/queries/organizations";
67
import type {
78
AppearanceConfig,
89
Entitlements,
910
Experiments,
1011
Organization,
1112
} from "api/typesGenerated";
13+
import { ErrorAlert } from "components/Alert/ErrorAlert";
1214
import { Loader } from "components/Loader/Loader";
1315
import { useEmbeddedMetadata } from "hooks/useEmbeddedMetadata";
14-
import { organizations } from "api/queries/organizations";
15-
import { ErrorAlert } from "components/Alert/ErrorAlert";
1616

1717
export interface DashboardValue {
1818
entitlements: Entitlements;

site/src/pages/CreateWorkspacePage/CreateWorkspacePage.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@ export type ExternalAuthPollingState = "idle" | "polling" | "abandoned";
3434

3535
const CreateWorkspacePage: FC = () => {
3636
const { organization: organizationName = "default", template: templateName } =
37-
useParams() as {
38-
organization?: string;
39-
template: string;
40-
};
37+
useParams() as { organization?: string; template: string };
4138
const { user: me } = useAuthenticated();
4239
const navigate = useNavigate();
4340
const [searchParams] = useSearchParams();

site/src/pages/TemplateSettingsPage/TemplateVariablesPage/TemplateVariablesPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ import type {
1616
import { ErrorAlert } from "components/Alert/ErrorAlert";
1717
import { displaySuccess } from "components/GlobalSnackbar/utils";
1818
import { Loader } from "components/Loader/Loader";
19+
import { linkToTemplate, useLinks } from "modules/navigation";
1920
import { pageTitle } from "utils/page";
2021
import { useTemplateSettings } from "../TemplateSettingsLayout";
2122
import { TemplateVariablesPageView } from "./TemplateVariablesPageView";
22-
import { linkToTemplate, useLinks } from "modules/navigation";
2323

2424
export const TemplateVariablesPage: FC = () => {
2525
const getLink = useLinks();

site/src/pages/TemplateVersionPage/TemplateVersionPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import {
99
templateVersionByName,
1010
} from "api/queries/templates";
1111
import { useAuthenticated } from "contexts/auth/RequireAuth";
12+
import { linkToTemplate, useLinks } from "modules/navigation";
1213
import { pageTitle } from "utils/page";
1314
import TemplateVersionPageView from "./TemplateVersionPageView";
14-
import { linkToTemplate, useLinks } from "modules/navigation";
1515

1616
export const TemplateVersionPage: FC = () => {
1717
const getLink = useLinks();

0 commit comments

Comments
 (0)