style: format

This commit is contained in:
quantum9Innovation 2024-02-16 21:45:07 +00:00 committed by github-actions[bot]
parent 0205590b9f
commit 8501d13827

View file

@ -55,14 +55,15 @@ const VersionChooser = ({
const id = doc.citation ? doc.citation.slice(6) : generateHash(slug) const id = doc.citation ? doc.citation.slice(6) : generateHash(slug)
navigator.clipboard.writeText(`eeXiv:${id}`) navigator.clipboard.writeText(`eeXiv:${id}`)
notifyCopied('Citation') notifyCopied('Citation')
toast.info(( toast.info(
<div className='p-4'> <div className='p-4'>
<QRCode value={doc.citation ?? `eeXiv:${generateHash(slug)}`} /> <QRCode value={doc.citation ?? `eeXiv:${generateHash(slug)}`} />
</div> </div>,
), { {
autoClose: false, autoClose: false,
closeOnClick: true, closeOnClick: true,
}) }
)
} }
return ( return (