mirror of
https://github.com/Leado123/Leado123.github.io.git
synced 2026-10-01 00:32:59 +00:00
Update App.tsx
This commit is contained in:
+1
-8
@@ -177,14 +177,7 @@ function App() {
|
||||
</div>
|
||||
<div className="listing">
|
||||
{syllabi.map((syllabus, i) => {
|
||||
return (
|
||||
<>
|
||||
<SyllabusListing key={i} fileName={syllabus.fileName} className={syllabus.className} professor={syllabus.professor} />
|
||||
{i === syllabi.length - 1 && <SyllabusListing key={i + 1} fileName={"syllabus.fileName"} className={"syllabus.className"} professor={"syllabus.professor"} />}
|
||||
</>
|
||||
|
||||
)
|
||||
|
||||
return <SyllabusListing key={i} fileName={syllabus.fileName} className={syllabus.className} professor={syllabus.professor} />
|
||||
})}
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user