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
|
||||
</a>
|
||||
!
|
||||
{'!'}
|
||||
</li>
|
||||
<li key={3}>
|
||||
eeXiv is currently under active development! There may be major
|
||||
|
@ -48,7 +48,7 @@ export default function News() {
|
|||
>
|
||||
our issue tracker
|
||||
</a>
|
||||
.
|
||||
{'.'}
|
||||
</li>
|
||||
<li key={4}>
|
||||
Want to upload your documents or just make yourself a profile on
|
||||
|
|
|
@ -112,6 +112,11 @@ export default function Page() {
|
|||
router.push(input)
|
||||
}
|
||||
|
||||
if (data.length === 1) {
|
||||
// auto redirect if only one result
|
||||
handleRedirect(`/document/view/${data[0].id}`)
|
||||
}
|
||||
|
||||
return (
|
||||
<div className='max-w-4xl mx-auto'>
|
||||
<h1 className='text-xl mb-4 p-2'>
|
||||
|
|
Loading…
Reference in a new issue