Skip to content

Commit

Permalink
Open links from artist description in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavAndreasson committed Feb 23, 2024
1 parent f310ad7 commit b620397
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ const Description = ({ description }) => {
{
name: "url",
nesting: true,
generate: node => <a href={node.value}>{generate(node.children)}</a>,
generate: node => (
<a href={node.value} target="_blank">
{generate(node.children)}
</a>
),
},
]

Expand Down

0 comments on commit b620397

Please sign in to comment.