Skip to content

Commit 7edc95b

Browse files
committed
Link Opens Same Page
1 parent 87dd750 commit 7edc95b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/HeroCard/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function HeroCard({ name, icon, href }) {
66

77
const openLink = () => {
88
if (!href) return;
9-
window.open(href, "_blank");
9+
location.href = href;
1010
};
1111

1212
return (<>

0 commit comments

Comments
 (0)