Skip to content

Commit

Permalink
Fixed errors for Alexis changes
Browse files Browse the repository at this point in the history
  • Loading branch information
angela139 committed Sep 11, 2023
1 parent f312447 commit ac27238
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions src/components/team-card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,12 @@ const TeamCard: React.FC = () => {
},
];


return (
<div className={styles.team}>
{teamMembers.map((member, index) => (
<div key={index} className={styles.card}>
<div key={member.name} className={styles.card}>
<div className={styles.cardOutline}>
<img src={member.imageUrl}
alt={member.name}
/>
<img src={member.imageUrl} alt={member.name} />
<h4>{member.name}</h4>
<p>{member.position}</p>
<p>{member.email}</p>
Expand Down
4 changes: 2 additions & 2 deletions src/sections/Team/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Team: React.FC = () => {
<h3 className={styles.team}>Team Section</h3>
<TeamCard />
</div>
)
);
};

export default Team;
export default Team;

0 comments on commit ac27238

Please sign in to comment.