diff --git a/src/components/Post/PostCard.tsx b/src/components/Post/PostCard.tsx index f386be8..9e29021 100644 --- a/src/components/Post/PostCard.tsx +++ b/src/components/Post/PostCard.tsx @@ -33,10 +33,7 @@ export default function PostCard({ closed, }: PostCardProps) { const { rateText } = getPayRateText(hourlyPay, originalHourlyPay); - const isPast = isPastDate( - startsAt ?? Date.now().toLocaleString(), - workhour ?? 0, - ); + const isPast = isPastDate(startsAt ?? Date.now().toLocaleString()); const isDimmed = closed || isPast; const timeRange = @@ -52,7 +49,7 @@ export default function PostCard({ backgroundColor === "#ffffff" && "border border-gray-20 shadow-sm", )} > -
+
{name}(null); @@ -137,7 +137,7 @@ export default function ShopPage() { description={ shop.description && shop.description.trim() !== "" ? shop.description - : "등록된 가게 정보가 없습니다" + : "(등록된 가게 정보가 없습니다.)" } isShopInfo={true} backgroundColor="bg-red-10"