Skip to content

Commit 1bb6714

Browse files
committed
lint fixes
1 parent 2e7696e commit 1bb6714

File tree

5 files changed

+203
-196
lines changed

5 files changed

+203
-196
lines changed

site/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,11 @@
191191
"vite-plugin-checker": "0.9.3",
192192
"vite-plugin-turbosnap": "1.0.3"
193193
},
194-
"browserslist": ["chrome 110", "firefox 111", "safari 16.0"],
194+
"browserslist": [
195+
"chrome 110",
196+
"firefox 111",
197+
"safari 16.0"
198+
],
195199
"resolutions": {
196200
"optionator": "0.9.3",
197201
"semver": "7.6.2"

site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/LicensesSettingsPage.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ const LicensesSettingsPage: FC = () => {
8585
isRemovingLicense={isRemovingLicense}
8686
removeLicense={(licenseId: number) => removeLicenseApi(licenseId)}
8787
activeUsers={userStatusCount?.active}
88-
managedAgentFeature={entitlementsQuery.data?.features.managed_agent_limit}
88+
managedAgentFeature={
89+
entitlementsQuery.data?.features.managed_agent_limit
90+
}
8991
refreshEntitlements={async () => {
9092
try {
9193
await refreshEntitlementsMutation.mutateAsync();

site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/LicensesSettingsPageView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import MuiLink from "@mui/material/Link";
44
import Skeleton from "@mui/material/Skeleton";
55
import Tooltip from "@mui/material/Tooltip";
66
import type { GetLicensesResponse } from "api/api";
7-
import type { Entitlements, Feature, UserStatusChangeCount } from "api/typesGenerated";
7+
import type { Feature, UserStatusChangeCount } from "api/typesGenerated";
88
import { Button } from "components/Button/Button";
99
import {
1010
SettingsHeader,

site/src/pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption.stories.tsx

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ import type { Meta, StoryObj } from "@storybook/react";
22
import { ManagedAgentsConsumption } from "./ManagedAgentsConsumption";
33

44
const meta: Meta<typeof ManagedAgentsConsumption> = {
5-
title:
6-
"pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption",
7-
component: ManagedAgentsConsumption,
8-
args: {
9-
usage: 50000,
10-
included: 60000,
11-
limit: 120000,
12-
startDate: "February 27, 2025",
13-
endDate: "February 27, 2026",
14-
},
5+
title:
6+
"pages/DeploymentSettingsPage/LicensesSettingsPage/ManagedAgentsConsumption",
7+
component: ManagedAgentsConsumption,
8+
args: {
9+
usage: 50000,
10+
included: 60000,
11+
limit: 120000,
12+
startDate: "February 27, 2025",
13+
endDate: "February 27, 2026",
14+
},
1515
};
1616

1717
export default meta;
@@ -20,33 +20,33 @@ type Story = StoryObj<typeof ManagedAgentsConsumption>;
2020
export const Default: Story = {};
2121

2222
export const NearLimit: Story = {
23-
args: {
24-
usage: 115000,
25-
included: 60000,
26-
limit: 120000,
27-
},
23+
args: {
24+
usage: 115000,
25+
included: 60000,
26+
limit: 120000,
27+
},
2828
};
2929

3030
export const OverIncluded: Story = {
31-
args: {
32-
usage: 80000,
33-
included: 60000,
34-
limit: 120000,
35-
},
31+
args: {
32+
usage: 80000,
33+
included: 60000,
34+
limit: 120000,
35+
},
3636
};
3737

3838
export const LowUsage: Story = {
39-
args: {
40-
usage: 25000,
41-
included: 60000,
42-
limit: 120000,
43-
},
39+
args: {
40+
usage: 25000,
41+
included: 60000,
42+
limit: 120000,
43+
},
4444
};
4545

4646
export const Disabled: Story = {
47-
args: {
48-
usage: NaN,
49-
included: NaN,
50-
limit: NaN,
51-
},
47+
args: {
48+
usage: Number.NaN,
49+
included: Number.NaN,
50+
limit: Number.NaN,
51+
},
5252
};

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy