Skip to content

Commit 3aaabbe

Browse files
committed
biome
1 parent bf8b913 commit 3aaabbe

File tree

6 files changed

+10
-18
lines changed

6 files changed

+10
-18
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
- uses: actions/setup-node@v3
8787
- uses: oven-sh/setup-bun@v2
8888
- run: make prepare-deploy-web
89-
- run: test `ls web/dist | wc -l` != 0
89+
- run: test `ls web/out | wc -l` != 0
9090

9191
deploy-test-server:
9292
name: Deploy Test (server)

web/app/edit/profile/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import { useRouter } from "next/navigation";
1717
import { enqueueSnackbar } from "notistack";
1818
import { useEffect, useState } from "react";
1919
import { update, useAboutMe } from "~/api/user";
20+
import { facultiesAndDepartments } from "~/app/signup/data";
2021
import type { UpdateUser } from "~/common/types";
2122
import { UpdateUserSchema } from "~/common/zod/schemas";
2223
import FullScreenCircularProgress from "~/components/common/FullScreenCircularProgress";
@@ -25,7 +26,6 @@ import { useAlert } from "~/components/common/alert/AlertProvider";
2526
import PhotoModal from "~/components/config/PhotoModal";
2627
import { PhotoPreviewButton } from "~/components/config/PhotoPreview";
2728
import UserAvatar from "~/components/human/avatar";
28-
import { facultiesAndDepartments } from "~/app/signup/data";
2929

3030
export default function EditProfile() {
3131
const router = useRouter();

web/app/signup/steps/step1_profile.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import {
1111
Typography,
1212
} from "@mui/material";
1313
import type { SelectChangeEvent } from "@mui/material";
14-
import { parseStep1UserSchema } from "~/common/zod/methods";
15-
import type { Step1User } from "~/common/zod/types";
1614
import type { StepProps } from "~/app/signup/common";
1715
import { facultiesAndDepartments } from "~/app/signup/data";
16+
import { parseStep1UserSchema } from "~/common/zod/methods";
17+
import type { Step1User } from "~/common/zod/types";
1818

1919
export default function Step1({ onSave, prev, caller }: StepProps<Step1User>) {
2020
const [name, setName] = useState(prev?.name ?? "");

web/app/signup/steps/step3_confirmation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Box, Button, Typography } from "@mui/material";
2-
import type { Step1User } from "~/common/zod/types";
32
import type { BackProp, StepProps } from "~/app/signup/common";
3+
import type { Step1User } from "~/common/zod/types";
44
import UserAvatar from "~/components/human/avatar";
55
import type { Step2Data } from "./step2_img";
66

web/firebase/auth/AuthProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { getAuth, onAuthStateChanged } from "firebase/auth";
22
import type React from "react";
33
import { createContext, useContext, useEffect, useState } from "react";
4-
import type { GUID, User } from "~/common/types";
54
import * as userAPI from "~/api/user";
5+
import type { GUID, User } from "~/common/types";
66

77
const AuthContext = createContext<User | null | undefined>(undefined);
88

web/tsconfig.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
"compilerOptions": {
33
"target": "ES2020",
44
"useDefineForClassFields": true,
5-
"lib": [
6-
"ES2020",
7-
"DOM",
8-
"DOM.Iterable"
9-
],
5+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
106
"module": "ESNext",
117
"esModuleInterop": true,
128
"skipLibCheck": true,
@@ -30,9 +26,7 @@
3026
],
3127
"baseUrl": ".",
3228
"paths": {
33-
"~/*": [
34-
"./*"
35-
]
29+
"~/*": ["./*"]
3630
}
3731
},
3832
"include": [
@@ -44,7 +38,5 @@
4438
"app",
4539
"components"
4640
],
47-
"exclude": [
48-
"./node_modules"
49-
]
50-
}
41+
"exclude": ["./node_modules"]
42+
}

0 commit comments

Comments
 (0)