From 3bb9b8601b51b25f4b164e35a92e86c10ad8e617 Mon Sep 17 00:00:00 2001 From: Jaipreet Singh Date: Tue, 20 Aug 2024 20:05:50 -0400 Subject: [PATCH] fix: :rotating_light: fixed build errors --- src/app/program/accepted-papers/page.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/app/program/accepted-papers/page.js b/src/app/program/accepted-papers/page.js index f18f8a9..22e224d 100644 --- a/src/app/program/accepted-papers/page.js +++ b/src/app/program/accepted-papers/page.js @@ -14,9 +14,11 @@ function AcceptedPaper({ title, authors }) { {title}
{authors.map((author, idx) => { - return idx < authors.length - 1 - ? `${author}, ` - : `${author}`; + return idx < authors.length - 1 ? ( + {`${author}, `} + ) : ( + {`${author}`} + ); })}

@@ -30,8 +32,9 @@ export default function AcceptedPapers() {

{`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.`}

- {ACCEPTED_PAPERS.map((paper) => ( + {ACCEPTED_PAPERS.map((paper, idx) => (