Skip to content

Commit

Permalink
fix: popup bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bliutech committed Aug 27, 2023
1 parent b6df2c6 commit abf52f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pages/events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ const EventPopup = ({ close, event }: EventPopupProps) => {
useEffect(() => setMounted(true), []);
return (
<div
className={styles[`popup-container ${mounted && "mounted"}`]}
className={`${styles["popup-container"]} ${
mounted ? styles["mounted"] : null
}`}
onClick={close}
>
<div className={styles["popup"]}>
Expand Down

0 comments on commit abf52f4

Please sign in to comment.