Skip to content

Commit 3e361e9

Browse files
chore: run biome
Signed-off-by: Henry Gressmann <[email protected]>
1 parent adad7cc commit 3e361e9

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

data/licenses-cargo.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data/licenses-npm.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

web/bun.lockb

23.9 KB
Binary file not shown.

web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"typecheck": "bun run --bun tsc --noEmit"
1010
},
1111
"dependencies": {
12+
"@astrojs/check": "^0.9.4",
1213
"@astrojs/react": "4.1.2",
1314
"@explodingcamera/css": "^0.0.4",
1415
"@fontsource-variable/outfit": "^5.1.1",

web/src/api/ranges.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it } from "bun:test";
2-
import { addDays, endOfDay, startOfDay, subDays } from "date-fns";
2+
import { startOfDay, subDays } from "date-fns";
33
import { DateRange } from "./ranges";
44

55
describe("DateRange", () => {

web/src/components/daterange/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,3 @@ export const DatePickerRange = ({
6161
};
6262

6363
const toHtmlDate = (date: Date) => date.toISOString().split("T")[0];
64-
const fromHtmlDate = (date: string) => new Date(date);

web/src/components/dimensions/modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import styles from "./dimensions.module.css";
44

55
import { useDeferredValue, useMemo, useState } from "react";
66
import { DimensionLabel, DimensionValueBar } from ".";
7-
import { type Dimension, type DimensionTableRow, dimensionNames, metricNames, useDimension } from "../../api";
7+
import { type Dimension, dimensionNames, metricNames, useDimension } from "../../api";
88
import { cls, formatMetricVal } from "../../utils";
99
import { Dialog } from "../dialog";
1010
import type { ProjectQuery } from "../project";

web/src/components/project/filter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import styles from "./filter.module.css";
33

44
import { type DimensionFilter, type FilterType, dimensionNames, filterNames, filterNamesInverted } from "../../api";
55

6-
import { useRef, useState, type ReactElement } from "react";
6+
import { type ReactElement, useRef, useState } from "react";
77
import { capitalizeAll, cls } from "../../utils";
88
import { Dialog } from "../dialog";
99

web/src/components/projects.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Suspense, useEffect, useState } from "react";
1+
import { Suspense, useState } from "react";
22
import styles from "./projects.module.css";
33

44
import { ChevronDownIcon } from "lucide-react";

web/src/components/settings/dialogs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useEffect, useMemo, useRef, useState, type ReactElement } from "react";
1+
import { type ReactElement, useEffect, useMemo, useRef, useState } from "react";
22

33
import { Dialog } from "../dialog";
44
import { type Tag, Tags } from "../tags";
@@ -615,7 +615,7 @@ export const CreateUser = () => {
615615
const { role } = useMe();
616616
const closeRef = useRef<HTMLButtonElement>(null);
617617

618-
const { mutate, error, reset } = useMutation({
618+
const { mutate, error } = useMutation({
619619
mutationFn: api["/api/dashboard/user"].post,
620620
onSuccess: () => {
621621
closeRef?.current?.click();

0 commit comments

Comments
 (0)