Skip to content

Commit

Permalink
반대로 함;
Browse files Browse the repository at this point in the history
  • Loading branch information
zestlee1106 committed Dec 20, 2023
1 parent c3350d3 commit 105f56f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/RoomCard/RoomCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const Footer = ({ room, isLikedRooms }: CardProps) => {
</div>
<hr />
<p className="pt-[10px] font-medium text-[12px] text-a2">
Available {room.available === true ? formatDate(room.availableDate) : 'Now'}
Available {room.available === true ? 'Now' : formatDate(room.availableDate)}
</p>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion pages/room/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export default function RoomDetail() {
</div>
<div className="flex items-center">
<Calendar className="mr-[12px]" />
{room.available === true ? `From ${formatDate(room.availableDate)}` : 'Available Now'}
{room.available === true ? 'Available Now' : `From ${formatDate(room.availableDate)}`}
</div>
</div>
<hr />
Expand Down

0 comments on commit 105f56f

Please sign in to comment.