We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff65659 commit 7c7f8bbCopy full SHA for 7c7f8bb
1 file changed
src/components/OpenSourceHeader.tsx
@@ -139,13 +139,9 @@ const MicrosoftOpenSourceHeader: FunctionComponent<Props> = ( { site, siteSectio
139
<>
140
{OPENSOURCE_SITE_LINKS.map((link) => (
141
<li key={link.href} className={selected === link.href ? selectedClassName : undefined}>
142
- <Link as="a" href={
+ <Link href={
143
link.href
144
- } onClick={(e: any) => {
145
- e.preventDefault();
146
- // navigate(link.href);
147
- router.push(link.href);
148
- }}>{link.title}</Link>
+ }>{link.title}</Link>
149
</li>
150
))}
151
<li>
0 commit comments