Skip to content

Commit

Permalink
Correct mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
ejimsan committed Apr 30, 2024
1 parent f7d0ee7 commit 677bbce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/fragmentarium/domain/FragmentDtos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export default interface FragmentDto {
script: ScriptDto
externalNumbers: ExternalNumbers
projects: readonly string[]
sealTextNumbers: readonly string[]
date?: MesopotamianDateDto
datesInText?: readonly MesopotamianDateDto[]
archaeology?: Omit<ArchaeologyDto, 'excavationNumber'> & {
Expand Down
8 changes: 4 additions & 4 deletions src/fragmentarium/ui/info/ExternalNumberLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,17 +228,17 @@ export function OraccLinks({
}

export function SealLinks({
projects,
sealTextNumbers,
}: {
projects: readonly string[]
sealTextNumbers: readonly string[]
}): JSX.Element {
return (
<>
{'SEAL ('}
{projects.map((project, index) => (
{sealTextNumbers.map((sealTextNumber, index) => (
<Fragment key={index}>
{index !== 0 && ', '}
<SealLink number={number} />
<SealLink sealTextNumber={sealTextNumber} />
</Fragment>
))}
{')'}
Expand Down

0 comments on commit 677bbce

Please sign in to comment.