Skip to content

Commit 55bc70f

Browse files
committed
Run FMT
1 parent 6b82662 commit 55bc70f

File tree

8 files changed

+28
-13
lines changed

8 files changed

+28
-13
lines changed

site/src/components/Paywall/Paywall.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { Interpolation, Theme } from "@emotion/react";
2-
import { CircleCheckBigIcon } from "lucide-react";
32
import Link from "@mui/material/Link";
43
import { PremiumBadge } from "components/Badges/Badges";
54
import { Button } from "components/Button/Button";
65
import { Stack } from "components/Stack/Stack";
6+
import { CircleCheckBigIcon } from "lucide-react";
77
import type { FC, ReactNode } from "react";
88

99
export interface PaywallProps {

site/src/components/Paywall/PopoverPaywall.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { Interpolation, Theme } from "@emotion/react";
2-
import { CircleCheckBigIcon } from "lucide-react";
32
import Link from "@mui/material/Link";
43
import { PremiumBadge } from "components/Badges/Badges";
54
import { Button } from "components/Button/Button";
65
import { Stack } from "components/Stack/Stack";
6+
import { CircleCheckBigIcon } from "lucide-react";
77
import type { FC, ReactNode } from "react";
88

99
export interface PopoverPaywallProps {

site/src/components/Pill/Pill.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { InfoIcon } from "lucide-react";
21
import type { Meta, StoryObj } from "@storybook/react";
2+
import { InfoIcon } from "lucide-react";
33
import { Pill, PillSpinner } from "./Pill";
44

55
const meta: Meta<typeof Pill> = {

site/src/modules/resources/AppLink/AppLink.tsx

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useTheme } from "@emotion/react";
2-
import { CircleAlertIcon } from "lucide-react";
32
import { API } from "api/api";
43
import type * as TypesGen from "api/typesGenerated";
54
import { displayError } from "components/GlobalSnackbar/utils";
@@ -11,6 +10,7 @@ import {
1110
TooltipTrigger,
1211
} from "components/Tooltip/Tooltip";
1312
import { useProxy } from "contexts/ProxyContext";
13+
import { CircleAlertIcon } from "lucide-react";
1414
import { type FC, useState } from "react";
1515
import { createAppLinkHref } from "utils/apps";
1616
import { generateRandomString } from "utils/random";
@@ -74,12 +74,24 @@ export const AppLink: FC<AppLinkProps> = ({ app, workspace, agent }) => {
7474
primaryTooltip = "Initializing...";
7575
}
7676
if (app.health === "unhealthy") {
77-
icon = <CircleAlertIcon aria-hidden="true" className="size-icon-sm" css={{ color: theme.palette.warning.light }} />;
77+
icon = (
78+
<CircleAlertIcon
79+
aria-hidden="true"
80+
className="size-icon-sm"
81+
css={{ color: theme.palette.warning.light }}
82+
/>
83+
);
7884
primaryTooltip = "Unhealthy";
7985
}
8086
if (!appsHost && app.subdomain) {
8187
canClick = false;
82-
icon = <CircleAlertIcon aria-hidden="true" className="size-icon-sm" css={{ color: theme.palette.grey[300] }} />;
88+
icon = (
89+
<CircleAlertIcon
90+
aria-hidden="true"
91+
className="size-icon-sm"
92+
css={{ color: theme.palette.grey[300] }}
93+
/>
94+
);
8395
primaryTooltip =
8496
"Your admin has not configured subdomain application access";
8597
}
@@ -175,4 +187,4 @@ export const AppLink: FC<AppLinkProps> = ({ app, workspace, agent }) => {
175187
}
176188

177189
return button;
178-
};
190+
};

site/src/modules/workspaces/WorkspaceStatusBadge/WorkspaceStatusBadge.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { CircleAlertIcon } from "lucide-react";
21
import Tooltip, {
32
type TooltipProps,
43
tooltipClasses,
@@ -7,6 +6,7 @@ import type { Workspace } from "api/typesGenerated";
76
import { ChooseOne, Cond } from "components/Conditionals/ChooseOne";
87
import { Pill } from "components/Pill/Pill";
98
import { useClassName } from "hooks/useClassName";
9+
import { CircleAlertIcon } from "lucide-react";
1010
import type { FC, ReactNode } from "react";
1111
import { getDisplayWorkspaceStatus } from "utils/workspace";
1212

@@ -87,4 +87,4 @@ const FailureTooltip: FC<TooltipProps> = ({ children, ...tooltipProps }) => {
8787
{children}
8888
</Tooltip>
8989
);
90-
};
90+
};

site/src/pages/WorkspacePage/ChangeVersionDialog.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { css } from "@emotion/css";
2-
import { InfoIcon } from "lucide-react";
32
import AlertTitle from "@mui/material/AlertTitle";
43
import Autocomplete from "@mui/material/Autocomplete";
54
import CircularProgress from "@mui/material/CircularProgress";
@@ -14,6 +13,7 @@ import { FormFields } from "components/Form/Form";
1413
import { Loader } from "components/Loader/Loader";
1514
import { Pill } from "components/Pill/Pill";
1615
import { Stack } from "components/Stack/Stack";
16+
import { InfoIcon } from "lucide-react";
1717
import { TemplateUpdateMessage } from "modules/templates/TemplateUpdateMessage";
1818
import { type FC, useRef, useState } from "react";
1919
import { createDayString } from "utils/createDayString";
@@ -106,7 +106,10 @@ export const ChangeVersionDialog: FC<ChangeVersionDialogProps> = ({
106106
>
107107
{option.name}
108108
{option.message && (
109-
<InfoIcon aria-hidden="true" className="size-icon-xs" />
109+
<InfoIcon
110+
aria-hidden="true"
111+
className="size-icon-xs"
112+
/>
110113
)}
111114
</Stack>
112115
{template?.active_version_id === option.id && (

site/src/pages/WorkspacePage/WorkspaceNotifications/WorkspaceNotifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { Interpolation, Theme } from "@emotion/react";
2-
import { InfoIcon } from "lucide-react";
32
import WarningRounded from "@mui/icons-material/WarningRounded";
43
import { workspaceResolveAutostart } from "api/queries/workspaceQuota";
54
import type {
@@ -11,6 +10,7 @@ import type {
1110
import { MemoizedInlineMarkdown } from "components/Markdown/Markdown";
1211
import formatDistanceToNow from "date-fns/formatDistanceToNow";
1312
import dayjs from "dayjs";
13+
import { InfoIcon } from "lucide-react";
1414
import { useDashboard } from "modules/dashboard/useDashboard";
1515
import { TemplateUpdateMessage } from "modules/templates/TemplateUpdateMessage";
1616
import { type FC, useEffect, useState } from "react";

site/src/utils/workspace.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { Theme } from "@emotion/react";
2-
import { CircleAlertIcon } from "lucide-react";
32
import QueuedIcon from "@mui/icons-material/HourglassEmpty";
43
import PlayIcon from "@mui/icons-material/PlayArrowOutlined";
54
import StopIcon from "@mui/icons-material/StopOutlined";
@@ -9,6 +8,7 @@ import dayjs from "dayjs";
98
import duration from "dayjs/plugin/duration";
109
import minMax from "dayjs/plugin/minMax";
1110
import utc from "dayjs/plugin/utc";
11+
import { CircleAlertIcon } from "lucide-react";
1212
import semver from "semver";
1313
import { getPendingStatusLabel } from "./provisionerJob";
1414

0 commit comments

Comments
 (0)