removed extra comments

This commit is contained in:
Linna Luo 2021-05-11 23:04:28 -04:00
parent 1799bfbcc7
commit 553bf7ebe5
1 changed files with 0 additions and 3 deletions

View File

@ -37,10 +37,8 @@ export const MiniEventCard: React.FC<EventProps> = ({
time, time,
}) => { }) => {
return ( return (
// relative position
<details className={styles.miniEventCard}> <details className={styles.miniEventCard}>
<summary> <summary>
{/* onClick handler and prevent default */}
<div onClick={(event) => event.preventDefault()}> <div onClick={(event) => event.preventDefault()}>
<h2 className={styles.eventTitle}>{title}</h2> <h2 className={styles.eventTitle}>{title}</h2>
<p className={styles.eventInfo}> <p className={styles.eventInfo}>
@ -49,7 +47,6 @@ export const MiniEventCard: React.FC<EventProps> = ({
<p className={styles.shortDescription}>{descriptionShort}</p> <p className={styles.shortDescription}>{descriptionShort}</p>
</div> </div>
{/* absolute position */}
<p className={styles.details}> <p className={styles.details}>
View details <DropDownIcon /> View details <DropDownIcon />
</p> </p>