diff --git a/frontend/src/components/EditorLayout.tsx b/frontend/src/components/EditorLayout.tsx index 7a5266d1..ad05d93f 100644 --- a/frontend/src/components/EditorLayout.tsx +++ b/frontend/src/components/EditorLayout.tsx @@ -378,9 +378,6 @@ export default function EditorLayout() { return items; }, [isAdmin, isPaid, license?.variant, can]); - // Only highlight a tab if activeView matches a nav item - const navTabValue = navItems.some(i => i.value === activeView) ? activeView : undefined; - // Reset editor state (extracted from Home button onClick) const resetEditorState = () => { setSelectedFile(null); @@ -2484,7 +2481,6 @@ export default function EditorLayout() { void; mobileNavOpen: boolean; onMobileNavOpenChange: (open: boolean) => void; @@ -27,7 +24,6 @@ interface TopBarProps { export function TopBar({ activeView, navItems, - navTabValue, onNavigate, mobileNavOpen, onMobileNavOpenChange, @@ -46,37 +42,33 @@ export function TopBar({
{/* CENTER ZONE: Navigation (hidden on mobile) */} -