style: format
This commit is contained in:
parent
0205590b9f
commit
8501d13827
1 changed files with 5 additions and 4 deletions
|
@ -55,14 +55,15 @@ const VersionChooser = ({
|
|||
const id = doc.citation ? doc.citation.slice(6) : generateHash(slug)
|
||||
navigator.clipboard.writeText(`eeXiv:${id}`)
|
||||
notifyCopied('Citation')
|
||||
toast.info((
|
||||
toast.info(
|
||||
<div className='p-4'>
|
||||
<QRCode value={doc.citation ?? `eeXiv:${generateHash(slug)}`} />
|
||||
</div>
|
||||
), {
|
||||
</div>,
|
||||
{
|
||||
autoClose: false,
|
||||
closeOnClick: true,
|
||||
})
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue