Update Button.tsx

This commit is contained in:
rubel
2025-10-14 09:41:44 +06:00
parent 3dfd2a7507
commit ea3e56e1ec
+1 -1
View File
@@ -14,7 +14,7 @@ const Button = ({
return ( return (
<a <a
href={link} href={link}
target="_blank" target={link.startsWith("http") ? "_blank" : "_self"}
rel={`noopener noreferrer ${ rel={`noopener noreferrer ${
rel ? (rel === "follow" ? "" : rel) : "nofollow" rel ? (rel === "follow" ? "" : rel) : "nofollow"
}`} }`}