Skip to content

Commit 38df552

Browse files
committed
fix relative path
1 parent db55d7f commit 38df552

File tree

22 files changed

+37
-45
lines changed

22 files changed

+37
-45
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/api/chat/chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type {
1111
UserID,
1212
} from "~/common/types";
1313
import { ErrUnauthorized, credFetch } from "~/firebase/auth/lib";
14-
import endpoints from "~/internal/endpoints";
14+
import endpoints from "../internal/endpoints";
1515

1616
/* TODO
1717
import { UserID } from "~/common/types";

web/api/chat/hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { z } from "zod";
66
import type { Message, RoomOverview } from "~/common/types";
77
import { MessageSchema, RoomOverviewSchema } from "~/common/zod/schemas";
88
import { type Hook, useCustomizedSWR } from "~/hooks/useCustomizedSWR";
9-
import type { UserID } from "~/internal/endpoints";
9+
import type { UserID } from "../internal/endpoints";
1010
// import type { Hook } from "~/share/types";
1111
import * as chat from "./chat";
1212

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/components/chat/Room.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ListItem, Stack, Typography } from "@mui/material";
22
import type { DMOverview } from "~/common/types";
3-
import UserAvatar from "~/human/avatar";
3+
import UserAvatar from "../human/avatar";
44

55
type Props = {
66
room: DMOverview;

web/components/chat/RoomHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import ArrowBackIcon from "@mui/icons-material/ArrowBack";
22
import { Box, Button, Typography } from "@mui/material";
33
import Link from "next/link";
44
import type { DMOverview } from "~/common/types";
5-
import UserAvatar from "~/human/avatar";
5+
import UserAvatar from "../human/avatar";
66
type Props = {
77
room: DMOverview;
88
};

web/components/chat/RoomList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { Box, List, Typography } from "@mui/material";
44
import { useRouter } from "next/navigation";
55
import type { RoomOverview } from "~/common/types";
6-
import { HumanListItem } from "~/human/humanListItem";
6+
import { HumanListItem } from "../human/humanListItem";
77

88
type RoomListProps = {
99
roomsData: RoomOverview[] | null;

web/components/chat/RoomWindow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import type {
1515
} from "~/common/types";
1616
import type { Content } from "~/common/zod/types";
1717
import { getIdToken } from "~/firebase/auth/lib";
18-
import Dots from "~/common/Dots";
19-
import { socket } from "~/data/socket";
18+
import Dots from "../common/Dots";
19+
import { socket } from "../data/socket";
2020
import { MessageInput } from "./MessageInput";
2121
import { RoomHeader } from "./RoomHeader";
2222

0 commit comments

Comments
 (0)