diff --git a/src/app/components/News.tsx b/src/app/components/News.tsx index 29aa6f6..9574325 100644 --- a/src/app/components/News.tsx +++ b/src/app/components/News.tsx @@ -35,7 +35,7 @@ export default function News() { > ISO 26324 DOI registry - ! + {'!'}
  • eeXiv is currently under active development! There may be major @@ -48,7 +48,7 @@ export default function News() { > our issue tracker - . + {'.'}
  • Want to upload your documents or just make yourself a profile on diff --git a/src/app/search/page.tsx b/src/app/search/page.tsx index 3dbab29..231ed6d 100644 --- a/src/app/search/page.tsx +++ b/src/app/search/page.tsx @@ -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 (