Skip to content

Commit

Permalink
add YalePeabodyLink
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonjetz committed Oct 27, 2023
1 parent 2683052 commit c3b473a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions src/fragmentarium/ui/info/ExternalNumberLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,7 @@ export function HilprechtHeidelbergLink({
/>
)
}
export function YaleBabylonianLink({
number,
}: {
number: string
}): JSX.Element {
export function YalePeabodyLink({ number }: { number: string }): JSX.Element {
return (
<ExternalNumberLink
number={number}
Expand Down
4 changes: 2 additions & 2 deletions src/fragmentarium/ui/info/ExternalResources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
HilprechtJenaLink,
HilprechtHeidelbergLink,
BmIdLink,
YaleBabylonianLink,
YalePeabodyLink,
} from './ExternalNumberLink'

type ExternalLinkComponent = ({ number }: { number: string }) => JSX.Element
Expand All @@ -28,7 +28,7 @@ export default function ExternalResources({
[fragment.urOnlineNumber, UrOnlineLink],
[fragment.hilprechtJenaNumber, HilprechtJenaLink],
[fragment.hilprechtHeidelbergNumber, HilprechtHeidelbergLink],
[fragment.accession, YaleBabylonianLink],
[fragment.yalePeabodyNumber, YalePeabodyLink],
]
return (
<ul className="ExternalResources__items">
Expand Down

0 comments on commit c3b473a

Please sign in to comment.