Skip to content

Commit

Permalink
🐛 修复 Star 按钮链接错误问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Skywt2003 committed Feb 27, 2024
1 parent c08a0e6 commit 238a6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/buttons/GithubButton.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { type, target } = Astro.props;
type == "star" && (
<div id="button-wrapper" class="inline-block">
<>
<a id="btn" href={`https://github.com/${target}`} target="_blank">
<a id="btn" href={target} target="_blank">
<i class="ri-star-line" />
&nbsp;
<span>Star</span>
Expand Down

0 comments on commit 238a6c7

Please sign in to comment.