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)
|
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 (
|
||||||
|
|
Loading…
Reference in a new issue