fix div in p error
This commit is contained in:
@ -43,7 +43,7 @@ export const EventItem = ({
|
||||
<div className={styles.text}>
|
||||
<h1 className={styles.title}>{event.title}</h1>
|
||||
{mode === "list" && nextOccurrence && (
|
||||
<p className={styles.details}>
|
||||
<div className={styles.details}>
|
||||
{numOccurrences === 1 &&
|
||||
nextOccurrence?.start &&
|
||||
formatDate(nextOccurrence.start, commonDateTimeFormat)}
|
||||
@ -55,7 +55,7 @@ export const EventItem = ({
|
||||
<p>Flere datoer ({numOccurrences}) →</p>
|
||||
</div>
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
{mode === "singular" &&
|
||||
"occurrence" in event &&
|
||||
|
Reference in New Issue
Block a user