Skip to content

Commit

Permalink
Fix missing } from merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
alanchangxyz committed Apr 2, 2024
1 parent fbc5963 commit f156c7a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app/components/speakers/speakers.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "./speakers.scss";

const Speaker = (name, title, photo) => (
<div className="speaker-img-wrapper">
<img
<img
src = {require('assets/images/speaker-photos/'+photo+'.jpeg')}
alt = {name + "'s profile picture"}
/>
Expand All @@ -17,7 +17,7 @@ const Speaker = (name, title, photo) => (

const renderSpeakers = (speakers) => (
<div className="speaker-photos">
{speakers.map((speaker) =>
{speakers.map((speaker) =>
Speaker(speaker.name, speaker.title, speaker.photo)
)}
</div>
Expand All @@ -34,5 +34,6 @@ const Speakers = () => {
{renderSpeakers(speakersData.panelists)}
</div>
);
};

export default Speakers;
export default Speakers;

0 comments on commit f156c7a

Please sign in to comment.