mirror of
https://github.com/10h30/astroplate.git
synced 2026-06-05 15:08:00 +09:00
Update Button.tsx
This commit is contained in:
@@ -14,7 +14,7 @@ const Button = ({
|
||||
return (
|
||||
<a
|
||||
href={link}
|
||||
target="_blank"
|
||||
target={link.startsWith("http") ? "_blank" : "_self"}
|
||||
rel={`noopener noreferrer ${
|
||||
rel ? (rel === "follow" ? "" : rel) : "nofollow"
|
||||
}`}
|
||||
|
||||
Reference in New Issue
Block a user