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,
}) => {
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>