Skip to content

Commit

Permalink
♻️ Refactor : 알림 이미지 타입 이름 수정
Browse files Browse the repository at this point in the history
♻️ Refactor : 알림 이미지 타입 이름 수정
  • Loading branch information
JOEIH authored Dec 9, 2024
2 parents c58e7cd + 285f4c4 commit 38dd972
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/HostNotiPage/components/HostReviewNotiCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface HostNotiProps {
}

const HostReviewNotiCard = ({ item }: HostNotiProps) => {
const { content, workplaceId, createdAt, workplaceName, url } = item;
const { content, workplaceId, createdAt, workplaceName, imageURL } = item;

return (
<>
Expand All @@ -31,7 +31,7 @@ const HostReviewNotiCard = ({ item }: HostNotiProps) => {
</div>

<img
src={url}
src={imageURL}
alt='스터디룸 사진'
className='h-10 w-10 object-cover'
/>
Expand Down
1 change: 1 addition & 0 deletions src/typings/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export interface BusinessNotification {
reservationName?: string;
price?: number;
url?: string;
imageURL?: string;
}

// 사용자
Expand Down

0 comments on commit 38dd972

Please sign in to comment.