Skip to content

Commit

Permalink
Fix copyright link (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashachabin authored and gcor committed Nov 19, 2023
1 parent 9e53a63 commit 9d54a86
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions components/UI/Copyright/Copyright.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ export function Copyright() {
<a href="https://www.openstreetmap.org/" target="_blank" rel="noreferrer">
OpenStreetMap
</a>
{copyright &&
copyright.map((elem) => (
<>
{' · '}
<a href={elem.link} target="_blank" rel="noreferrer">
{elem.name}
</a>
</>
))}
{copyright?.map((elem) => (
<>
{' · '}
<a key={elem.link} href={elem.link} target="_blank" rel="noreferrer">
{elem.name}
</a>
</>
))}
</div>
);
}

0 comments on commit 9d54a86

Please sign in to comment.