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