Skip to content

Commit

Permalink
Save
Browse files Browse the repository at this point in the history
  • Loading branch information
dakota002 committed Jul 2, 2024
1 parent 1cc5cfa commit 502a6a1
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ export function Arxiv({ children, value }: JSX.IntrinsicElements['data']) {
<AstroDataLinkWithTooltip
to={`https://arxiv.org/abs/${value}`}
ext
fetchFunction={() => fetchTooltipData<typeof arxivTooltipLoader>('arxiv', value)}
fetchFunction={() =>
fetchTooltipData<typeof arxivTooltipLoader>('arxiv', value)
}
label={({ title, year, authors }) => (
<>
<div>arXiv:{value}</div>
Expand All @@ -76,7 +78,9 @@ export function Doi({ children, value }: JSX.IntrinsicElements['data']) {
<AstroDataLinkWithTooltip
to={`https://doi.org/${value}`}
ext
fetchFunction={() => fetchTooltipData<typeof doiTooltipLoader>('doi', value)}
fetchFunction={() =>
fetchTooltipData<typeof doiTooltipLoader>('doi', value)
}
label={({ authors, pub, year, title }) => (
<>
<div>{pub}</div>
Expand All @@ -97,7 +101,9 @@ export function Tns({ children, value }: JSX.IntrinsicElements['data']) {
<AstroDataLinkWithTooltip
to={`https://www.wis-tns.org/object/${value}`}
ext
fetchFunction={() => fetchTooltipData<typeof tnsTooltipLoader>('tns', value)}
fetchFunction={() =>
fetchTooltipData<typeof tnsTooltipLoader>('tns', value)
}
label={({ ra, dec, names }) => (
<>
<div>{names.join(', ')}</div>
Expand Down

0 comments on commit 502a6a1

Please sign in to comment.