Skip to content

Commit

Permalink
Refactor description conditional for team page
Browse files Browse the repository at this point in the history
  • Loading branch information
lhvy committed Jan 17, 2024
1 parent 423da81 commit 6f2ec84
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/team/ExecCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ const ExecCard = ({ data, colour }) => {
<div className="col-md-4">
<div className="card-person">
<div className={`${styles["card-person-style" + colour]} limit`}>
{description === "" || description === undefined ? null : (
<div className={styles["card-person-animation"]} />
)}
{description && <div className={styles["card-person-animation"]} />}
<Image alt={name} src={image} className={styles["card-img-top"]} />
<p className={styles["person-text"]}>{description}</p>
</div>
Expand Down

0 comments on commit 6f2ec84

Please sign in to comment.