Skip to content

Commit

Permalink
Merge pull request #182 from ASSETS-Conference/jaipreet
Browse files Browse the repository at this point in the history
fix: 🚨 fixed build errors
  • Loading branch information
Jpreet927 authored Aug 21, 2024
2 parents f68d07e + 3bb9b86 commit e130dea
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/app/program/accepted-papers/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ function AcceptedPaper({ title, authors }) {
<strong>{title}</strong>
<br />
{authors.map((author, idx) => {
return idx < authors.length - 1
? `${author}, `
: `${author}`;
return idx < authors.length - 1 ? (
<span key={idx}>{`${author}, `}</span>
) : (
<span key={idx}>{`${author}`}</span>
);
})}
</p>
</div>
Expand All @@ -30,8 +32,9 @@ export default function AcceptedPapers() {
<p className="mb-6">
{`We are pleased to share the titles and authors of accepted technical papers (in alphabetical order). More information regarding the program will be made available in September.`}
</p>
{ACCEPTED_PAPERS.map((paper) => (
{ACCEPTED_PAPERS.map((paper, idx) => (
<AcceptedPaper
key={idx}
title={paper.title}
authors={paper.authors}
/>
Expand Down

0 comments on commit e130dea

Please sign in to comment.