Skip to content

Commit

Permalink
Chore: 불필요한 주석 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
sscoderati committed Dec 13, 2023
1 parent 6f9894c commit 7b176c7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 67 deletions.
9 changes: 0 additions & 9 deletions src/components/common/ListRow/AdminApprovalList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ const AdminApprovalList = ({ onApproveSelectId }: AdminApprovalListProps) => {
};
const approvalDatas = data?.data.contents;

// const mockData = [
// { approvalRequestUser: '유명한', approvalRequestUserStatus: '대기 중' },
// { approvalRequestUser: '박은지', approvalRequestUserStatus: '대기 중' },
// { approvalRequestUser: '주다현', approvalRequestUserStatus: '대기 중' },
// { approvalRequestUser: '남궁호수', approvalRequestUserStatus: '대기 중' },
// { approvalRequestUser: '박상민', approvalRequestUserStatus: '대기 중' },
// { approvalRequestUser: '우창욱', approvalRequestUserStatus: '대기 중' },
// ]

return (
<AdminApprovalListContainerOuterWrapper>
<AdminApprovalListContainer>
Expand Down
25 changes: 0 additions & 25 deletions src/components/common/ListRow/AdminInquiryList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,6 @@ const AdminInquiryList = ({ onInquirySelectUserName }: AdminInquiryListProps) =>
onInquirySelectUserName(inquiryNickname);
};
const inquiryDatas = data?.data.contents;
// const mockData = [
// // 실제 예시 response 데이터
// // createdAt: '2023-11-22 12:54:06.291'
// {
// inquiryId: 5732,
// inquirer: '박상민',
// title: '제목1',
// createdAt: '2023.11.22',
// },
// {
// inquiryId: 6155,
// inquirer: '박은지',
// title: '제목2',
// createdAt: '2023.11.22',
// },
// { inquirer: '주다현', createdAt: '2023.11.22' },
// { inquirer: '남궁호수', createdAt: '2023.11.21' },
// { inquirer: '유명한', createdAt: '2023.11.21' },
// { inquirer: '박상민', createdAt: '2023.11.17' },
// { inquirer: '남궁호수', createdAt: '2023.11.17' },
// { inquirer: '주다현', createdAt: '2023.11.17' },
// { inquirer: '박은지', createdAt: '2023.11.17' },
// { inquirer: '우창욱', createdAt: '2023.11.10' },
// { inquirer: '유명한', createdAt: '2023.11.10' },
// ]

return (
<AdminInquiryListContainerOuterWrapper>
Expand Down
28 changes: 0 additions & 28 deletions src/components/common/ListRow/AdminReportList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,34 +34,6 @@ const AdminReportList = ({ onReportSelect }: AdminReportListProps) => {
const handlePersonReported = (nickname: string) => {
onReportSelect(nickname);
};
// const ReportDatas = data?.data.reports
//실제 response 데이터 예시
// {
// "targetedNickname": "유명한",
// "chattingRoomName": "채팅방1",
// "targetedId": 7347,
// "chattingRoomId": 1413,
// "createdAt": "2014-01-04T19:39:52.241736129"
// },
// {
// "targetedNickname": "박상민",
// "chattingRoomName": "채팅방2",
// "targetedId": 3296,
// "chattingRoomId": 9438,
// "createdAt": "2025-01-17T13:41:40.815311"
// }
//createdAt 변환 필요. '-' -> '.'으로도 변환
// const mockData = [
// { chattingRoomName: '채팅방1', targetedNickname: '유명한', createdAt: '2023.11.23' },
// { chattingRoomName: '채팅방2', targetedNickname: '박상민', createdAt: '2023.11.22' },
// { chattingRoomName: '채팅방3', targetedNickname: '박은지', createdAt: '2023.11.22' },
// { chattingRoomName: '채팅방4', targetedNickname: '주다현', createdAt: '2023.11.15' },
// { chattingRoomName: '채팅5', targetedNickname: '남궁호수', createdAt: '2023.10.29' },
// { chattingRoomName: '채팅방6', targetedNickname: '우창욱', createdAt: '2023.10.26' },
// { chattingRoomName: '채팅방칠', targetedNickname: '유명한', createdAt: '2023.10.26' },
// { chattingRoomName: '채팅방팔', targetedNickname: '박상민', createdAt: '2023.10.26' },
// { chattingRoomName: '채팅방9', targetedNickname: '박은지', createdAt: '2023.10.23' },
// ]

return (
<StyledAdminReportListContainerOuterWrapper>
Expand Down
5 changes: 0 additions & 5 deletions src/components/common/ListRow/AdminReportersList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,12 @@ const AdminReportersList = ({
const handlePersonReported = (nickname: string) => {
onReportSelect(nickname);
};
// const ReportersDatas = data?.data.reporters

const mockData = [
{ reporterUserName: "박은지", reportedDate: "2023.11.23" },
{ reporterUserName: "유명한", reportedDate: "2021.11.21" },
{ reporterUserName: "박상민", reportedDate: "2021.11.15" },
];
// 위 mockData(실제 response)에서 reportIds 추출. -> 신고 처리 시, 해당 reportIds를 body에 담아서 보내야 함.
// const reportersReportIds = {
// reportIds: [2530, 5942, 9590, 1726],
// }
return (
<StyledAdminReportersListContainerOuterWrapper>
<AdminPageHeader username={selectedReportNickname}></AdminPageHeader>
Expand Down

0 comments on commit 7b176c7

Please sign in to comment.