You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bifromq.apache.org by po...@apache.org on 2026/09/23 09:41:10 UTC
(bifromq-sites) branch master updated: fix: remove Tenon development label from navbar
This is an automated email from the ASF dual-hosted git repository.
popduke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bifromq-sites.git
The following commit(s) were added to refs/heads/master by this push:
new b060f78c fix: remove Tenon development label from navbar
b060f78c is described below
commit b060f78ce4f43dca3013bc3206f0217aa186a1c4
Author: Yonny Hao <po...@gmail.com>
AuthorDate: Wed Sep 23 17:41:05 2026 +0800
fix: remove Tenon development label from navbar
---
src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx b/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx
index 83bb0d48..46b011e0 100644
--- a/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx
+++ b/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx
@@ -4,9 +4,6 @@ import Original from '@theme-original/NavbarItem/DocsVersionDropdownNavbarItem';
export default function DocsVersionDropdownNavbarItem(props: ComponentProps<typeof Original>): ReactNode {
const { pathname } = useLocation();
- if (pathname.startsWith('/tenon/docs/')) {
- return <span className={props.mobile ? 'menu__link' : 'navbar__item'}>Tenon ยท Development</span>;
- }
if (pathname === '/tenon' || pathname.startsWith('/tenon/')) return null;
return <Original {...props} />;
}