Skip to content

Commit

Permalink
minor type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
derekphilipau committed Dec 29, 2023
1 parent 82d449d commit 3d63651
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/artwork/description-row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ export function DescriptionRow({
!link &&
val.map(
(tag: string, i: Key) =>
tag && <span key={i}>{`${i > 0 ? ', ' : ''}${tag}`}</span>
tag && (
<span key={i}>{`${(i as number) > 0 ? ', ' : ''}${tag}`}</span>
)
)}
</dd>
</div>
Expand Down

0 comments on commit 3d63651

Please sign in to comment.