style: format

This commit is contained in:
Team1280Programming 2024-02-15 02:11:36 +00:00 committed by github-actions[bot]
parent 6fd3a94fac
commit c3473f135a
2 changed files with 5 additions and 5 deletions

View file

@ -50,14 +50,14 @@ const VersionChooser = ({
className='ml-2 h-10 px-2.5 bg-slate-300 rounded-md'
onClick={() => {
const bibtex = `@article{
author={${
authors.map((a: string, i) => {
author={${authors
.map((a: string, i) => {
const author = authorList[a].name.first + ' ' + authorList[a].name.last
if (i === 0) return author
else if (i === authors.length - 1) return ` and ${author}`
else return `, ${author}`
}).join('')
}},
})
.join('')}},
title={${doc.manifest.title}},
journal={eeXiv journal},
year={${date.getFullYear()}},