Merge branch 'main' of github.com:Team-1280/eeXiv
This commit is contained in:
commit
bcf0a38b4e
2 changed files with 7 additions and 2 deletions
|
@ -35,7 +35,7 @@ export default function News() {
|
||||||
>
|
>
|
||||||
ISO 26324 DOI registry
|
ISO 26324 DOI registry
|
||||||
</a>
|
</a>
|
||||||
!
|
{'!'}
|
||||||
</li>
|
</li>
|
||||||
<li key={3}>
|
<li key={3}>
|
||||||
eeXiv is currently under active development! There may be major
|
eeXiv is currently under active development! There may be major
|
||||||
|
@ -48,7 +48,7 @@ export default function News() {
|
||||||
>
|
>
|
||||||
our issue tracker
|
our issue tracker
|
||||||
</a>
|
</a>
|
||||||
.
|
{'.'}
|
||||||
</li>
|
</li>
|
||||||
<li key={4}>
|
<li key={4}>
|
||||||
Want to upload your documents or just make yourself a profile on
|
Want to upload your documents or just make yourself a profile on
|
||||||
|
|
|
@ -112,6 +112,11 @@ export default function Page() {
|
||||||
router.push(input)
|
router.push(input)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (data.length === 1) {
|
||||||
|
// auto redirect if only one result
|
||||||
|
handleRedirect(`/document/view/${data[0].id}`)
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='max-w-4xl mx-auto'>
|
<div className='max-w-4xl mx-auto'>
|
||||||
<h1 className='text-xl mb-4 p-2'>
|
<h1 className='text-xl mb-4 p-2'>
|
||||||
|
|
Loading…
Reference in a new issue