Skip to content

Commit

Permalink
Merge pull request #58 from Propy/dev
Browse files Browse the repository at this point in the history
dev -> main
  • Loading branch information
JayWelsh authored Jan 4, 2024
2 parents db83c31 + 693f719 commit 0f5d89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RecentHomeNftScrollingBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const RecentHomeNftScrollingBanner = () => {
let secondsSinceMint = (Math.floor(new Date().getTime() / 1000) - Number(reservationEntryTimeline.date))
isReservationWithinBannerTimeframe = secondsSinceMint < (60 * maxTimeframeMinutesSinceMinted);
}
if(cityAttribute && isReservationWithinBannerTimeframe && (renderResults.length < maxScrollingEntries)) {
if(cityAttribute && cityAttribute.value && isReservationWithinBannerTimeframe && (renderResults.length < maxScrollingEntries)) {
renderResults.push({string: `New address minted in ${cityAttribute.value}`, link: `token/${nftRecord.network_name}/${nftRecord.asset_address}/${nftRecord.token_id}`});
}
}
Expand Down

0 comments on commit 0f5d89a

Please sign in to comment.