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