removed extra comments
This commit is contained in:
parent
1799bfbcc7
commit
553bf7ebe5
|
@ -37,10 +37,8 @@ export const MiniEventCard: React.FC<EventProps> = ({
|
|||
time,
|
||||
}) => {
|
||||
return (
|
||||
// relative position
|
||||
<details className={styles.miniEventCard}>
|
||||
<summary>
|
||||
{/* onClick handler and prevent default */}
|
||||
<div onClick={(event) => event.preventDefault()}>
|
||||
<h2 className={styles.eventTitle}>{title}</h2>
|
||||
<p className={styles.eventInfo}>
|
||||
|
@ -49,7 +47,6 @@ export const MiniEventCard: React.FC<EventProps> = ({
|
|||
<p className={styles.shortDescription}>{descriptionShort}</p>
|
||||
</div>
|
||||
|
||||
{/* absolute position */}
|
||||
<p className={styles.details}>
|
||||
View details <DropDownIcon />
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue