Skip to content

Commit

Permalink
hotfix: 개발 서버 배포 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
pepperdad committed Aug 31, 2024
1 parent 1874e26 commit ec790b4
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 70 deletions.
3 changes: 2 additions & 1 deletion src/pages/modifyManage/components/RoleWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import { ChangeEvent, useState } from "react";
import * as S from "../ModifyManage.styled";

interface Role {
id: number;
makerId: number;
makerName: string;
makerRole: string;
makerPhoto: string;
}

interface RoleWrapperProps {
id: number;
role: Role;
Expand Down
136 changes: 68 additions & 68 deletions src/pages/modifyManage/constants/genreList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,71 +28,71 @@ export const GENRE_LIST = [
{ id: 4, genre: "ETC" as SHOW_TYPE_KEY, genreKor: "기타", genreIcon: StyledIcon(IconLargeEtc) },
];

export const GET_MODIFY_MANAGE_RESPONSE: GigInfo = {
status: 200,
message: "공연 정보가 성공적으로 조회되었습니다.",
data: {
userId: 2,
accountHolder: "공준혁혁",
performanceId: 1,
performanceTitle: "공연 제목입니다",
genre: "BAND",
runningTime: 120,
performanceDescription: "공연 소개입니다",
performanceAttentionNote: "유의사항입니다",
bankName: "KB_KOOKMIN",
accountNumber: "924232-22-234232",
posterImage: "포스터 이미지 URL입니다",
performanceTeamName: "비트",
performanceVenue: "우리집",
performanceContact: "010-3234-2342",
performancePeriod: "2023.12.28~2023.12.29",
ticketPrice: 50000,
totalScheduleCount: 2,
isBookerExist: true,
scheduleList: [
{
scheduleId: 1,
performanceDate: "2024-12-28T19:30:00",
totalTicketCount: 100,
dueDate: 5, // 공연 날짜 - 현재 날짜
scheduleNumber: "FIRST",
},
{
scheduleId: 2,
performanceDate: "2024-12-29T19:30:00",
totalTicketCount: 100,
dueDate: 6, // 공연 날짜 - 현재 날짜
scheduleNumber: "SECOND",
},
],
castList: [
{
castId: 1,
castName: "황혜린",
castRole: "서버",
castPhoto: "출연진 사진 URL",
},
{
castId: 2,
castName: "정도영",
castRole: "웹",
castPhoto: "출연진 사진 URL",
},
],
staffList: [
{
staffId: 1,
staffName: "서지우",
staffRole: "리드",
staffPhoto: "스태프 사진 URL",
},
{
staffId: 2,
staffName: "양성재",
staffRole: "피엠",
staffPhoto: "스태프 사진 URL",
},
],
},
};
// export const GET_MODIFY_MANAGE_RESPONSE: GigInfo = {
// status: 200,
// message: "공연 정보가 성공적으로 조회되었습니다.",
// data: {
// userId: 2,
// accountHolder: "공준혁혁",
// performanceId: 1,
// performanceTitle: "공연 제목입니다",
// genre: "BAND",
// runningTime: 120,
// performanceDescription: "공연 소개입니다",
// performanceAttentionNote: "유의사항입니다",
// bankName: "KB_KOOKMIN",
// accountNumber: "924232-22-234232",
// posterImage: "포스터 이미지 URL입니다",
// performanceTeamName: "비트",
// performanceVenue: "우리집",
// performanceContact: "010-3234-2342",
// performancePeriod: "2023.12.28~2023.12.29",
// ticketPrice: 50000,
// totalScheduleCount: 2,
// isBookerExist: true,
// scheduleList: [
// {
// scheduleId: 1,
// performanceDate: "2024-12-28T19:30:00",
// totalTicketCount: 100,
// dueDate: 5, // 공연 날짜 - 현재 날짜
// scheduleNumber: "FIRST",
// },
// {
// scheduleId: 2,
// performanceDate: "2024-12-29T19:30:00",
// totalTicketCount: 100,
// dueDate: 6, // 공연 날짜 - 현재 날짜
// scheduleNumber: "SECOND",
// },
// ],
// castList: [
// {
// castId: 1,
// castName: "황혜린",
// castRole: "서버",
// castPhoto: "출연진 사진 URL",
// },
// {
// castId: 2,
// castName: "정도영",
// castRole: "웹",
// castPhoto: "출연진 사진 URL",
// },
// ],
// staffList: [
// {
// staffId: 1,
// staffName: "서지우",
// staffRole: "리드",
// staffPhoto: "스태프 사진 URL",
// },
// {
// staffId: 2,
// staffName: "양성재",
// staffRole: "피엠",
// staffPhoto: "스태프 사진 URL",
// },
// ],
// },
// };
2 changes: 1 addition & 1 deletion src/pages/myRegisterdShow/MyRegisterdShow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const MyRegisterdShow = () => {
}, [setHeader]);

//추후 API에서 받아온 걸로 set할 예정
type MakerPerformanceDetail = components["schemas"]["MakerPerformanceDetail"];
type MakerPerformanceDetail = components["schemas"]["MakerPerformanceDetailResponse"];
const { data, isLoading } = useMakerPerformance();
const [showList, setShowList] = useState<MakerPerformanceDetail[] | undefined>(
data?.performances
Expand Down

0 comments on commit ec790b4

Please sign in to comment.