Skip to content

Commit

Permalink
empty links support
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Dec 30, 2024
1 parent fe76f30 commit 9b21076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/pages/WelcomePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ function WelcomePage() {
{news &&
news.map((item) => {
return (
<Card css="is-selected">
<a target="blank" href={item.link}>
<Card key={item.link} css="is-selected">
<a target={item.target} href={item.link}>
<span class="h5">{item.title}</span>
<p>{item.desc}</p>
<img src={item.img} />
Expand Down

0 comments on commit 9b21076

Please sign in to comment.