diff --git a/sites/partners/src/pages/listings/[id]/lottery.tsx b/sites/partners/src/pages/listings/[id]/lottery.tsx index f9935e91701..d76e5f757b9 100644 --- a/sites/partners/src/pages/listings/[id]/lottery.tsx +++ b/sites/partners/src/pages/listings/[id]/lottery.tsx @@ -198,9 +198,10 @@ const Lottery = (props: { listing: Listing | undefined }) => { (event) => event.type === ListingEventsTypeEnum.publicLottery ) if (listing.lotteryStatus === LotteryStatusEnum.releasedToPartners) { - const lotteryReleaseDate = lotteryActivityLogData?.findLast( - (logItem) => logItem.status === LotteryStatusEnum.releasedToPartners - )?.logDate + // reverse array to find most recent release date + const lotteryReleaseDate = lotteryActivityLogData + ?.reverse() + ?.find((logItem) => logItem.status === LotteryStatusEnum.releasedToPartners)?.logDate return (