Skip to content

Commit

Permalink
fix: 예약자 list에서 신청인원 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
seoyeon08 committed Jul 8, 2024
1 parent a166dab commit 5a60962
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/molecules/ApplicantInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ interface IProps {

export const ApplicantInfo = ({ applicant }: IProps) => {
const time = applicant.startTime.substring(11, 16);
console.log(applicant);
return (
<div className='flex justify-between font-hanaRegular p-1'>
<div className='flex justify-between font-hanaRegular text-sm p-1 mt-[2px]'>
<div className='flex flex-row'>
<p>{time}</p>
<p className='ml-3'>{applicant.userName}</p>
<p className='ml-2'>{applicant.applicant}</p>
</div>
<div>
<p>{applicant.email}</p>
Expand Down
1 change: 1 addition & 0 deletions src/types/reservation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ interface PeopleType {
startTime: string;
userName: string;
email: string;
applicant: number;
}

interface PeopleListType extends PeopleType {
Expand Down

0 comments on commit 5a60962

Please sign in to comment.