diff --git a/packages/page-calendar/src/DayItem.tsx b/packages/page-calendar/src/DayItem.tsx index 938cb11d2d..1ce29dfe1c 100644 --- a/packages/page-calendar/src/DayItem.tsx +++ b/packages/page-calendar/src/DayItem.tsx @@ -63,7 +63,7 @@ function createLink (to: string, desc: string): React.ReactNode { return
{desc}
; } -function DayItem ({ className, item: { date, info, type }, showAllEvents }: Props): React.ReactElement { +function DayItem ({ className, item: { blockNumber, date, info, type }, showAllEvents }: Props): React.ReactElement { const { t } = useTranslation(); const [description, setDescription] = useState(''); @@ -183,6 +183,7 @@ function DayItem ({ className, item: { date, info, type }, showAllEvents }: Prop
{date.toLocaleString(undefined, FORMAT_OPTIONS)}
}
{date.toLocaleTimeString().split(':').slice(0, 2).join(':')}
+
#{formatNumber(blockNumber)}
{desc} {date && (