diff --git a/frontend/src/components/profile/profileCard/ProfileCard.tsx b/frontend/src/components/profile/profileCard/ProfileCard.tsx index f001da00e..7d767b58b 100644 --- a/frontend/src/components/profile/profileCard/ProfileCard.tsx +++ b/frontend/src/components/profile/profileCard/ProfileCard.tsx @@ -1,6 +1,7 @@ import Icon from "@/components/common/icon/Icon"; import Profile from "@/components/common/profile/Profile"; import * as S from "@/components/profile/profileCard/ProfileCard.style"; +import { ProfileData } from "@/@types/profile"; import { HoverStyledLink } from "@/styles/common"; const ProfileCard = (profileData: ProfileData) => { diff --git a/frontend/src/utils/roomMapper.ts b/frontend/src/utils/roomMapper.ts index 55a0f938c..d27341fbd 100644 --- a/frontend/src/utils/roomMapper.ts +++ b/frontend/src/utils/roomMapper.ts @@ -2,7 +2,7 @@ import { BaseRoomInfo, RoomCreateRequest, RoomDetailResponse, RoomInfo } from "@ // RoomDetailResponse를 RoomInfo로 변환 export const mapRoomDetailResponseToRoomInfo = (response: RoomDetailResponse): RoomInfo => ({ - roomId: response.roomInfoResponse.roomId, + id: response.roomInfoResponse.roomId, title: response.roomInfoResponse.title, content: response.roomInfoResponse.content, repositoryLink: response.repositoryResponse.repositoryLink,