We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b74fef4 commit d2f278aCopy full SHA for d2f278a
2 files changed
apps/site/components/Containers/NavBar/NavItem/index.tsx
@@ -31,9 +31,7 @@ const NavItem: FC<PropsWithChildren<NavItemProps>> = ({
31
>
32
<span className={styles.label}>{children}</span>
33
34
- {((type === 'nav' && href.startsWith('http')) || target === '_blank') && (
35
- <ArrowUpRightIcon className={styles.icon} />
36
- )}
+ {target === '_blank' && <ArrowUpRightIcon className={styles.icon} />}
37
</ActiveLink>
38
);
39
apps/site/navigation.json
@@ -18,8 +18,7 @@
18
},
19
"docs": {
20
"link": "https://nodejs.org/docs/latest/api/",
21
- "label": "components.containers.navBar.links.docs",
22
- "target": "_blank"
+ "label": "components.containers.navBar.links.docs"
23
24
"certification": {
25
"link": "https://training.linuxfoundation.org/openjs/",
0 commit comments