fix upcoming event blocks (at least temporarily)
This commit is contained in:
@@ -56,7 +56,7 @@ export const EventItem = ({
|
||||
"occurrence" in event &&
|
||||
event.occurrence?.start && (
|
||||
<p className={styles.day}>
|
||||
{formatDate(event.occurrence?.start, "eeee dd.MM.")}
|
||||
{formatDate(event.occurrence?.start, "eeee dd.MM.")} {formatDate(event.occurrence?.start, "'kl.' HH:mm")}
|
||||
</p>
|
||||
)}
|
||||
<h1 className={styles.title}>{event.title}</h1>
|
||||
@@ -76,7 +76,7 @@ export const EventItem = ({
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
{(mode === "calendar" || mode === "singular-time-only") &&
|
||||
{(mode === "calendar") &&
|
||||
"occurrence" in event &&
|
||||
event.occurrence?.start && (
|
||||
<p className={styles.dates}>
|
||||
|
||||
Reference in New Issue
Block a user