Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Cleanup commented code
Vasek Mlejnskyb26b93b1c7dc
diff --git a/apps/web/src/components/Navigation/NavigationLink.tsx b/apps/web/src/components/Navigation/NavigationLink.tsxindex 223903eb2..7e105f092 100644--- a/apps/web/src/components/Navigation/NavigationLink.tsx+++ b/apps/web/src/components/Navigation/NavigationLink.tsx@@ -16,15 +16,15 @@ export function NavigationLink({tag?: string}) {const pathname = usePathname()- const active = pathname === link.href+ const isActive = pathname === link.hrefreturn (<Linkhref={link.href}- aria-current={active ? 'page' : undefined}+ aria-current={isActive ? 'page' : undefined}className={clsx('flex justify-between py-1 px-2 text-sm transition rounded-md hover:bg-zinc-800 transition-colors',- active+ isActive? 'text-white bg-zinc-800': 'hover:text-white text-zinc-400 bg-transparent',className,@@ -40,12 +40,12 @@ export function NavigationLink({>{tag}</Tag>- <span className={clsx('truncate', active ? 'text-white' : '')}>+ <span className={clsx('truncate', isActive ? 'text-white' : '')}>{link.title}</span></div>) : (- <span className={clsx('truncate', active ? 'text-white' : '')}>+ <span className={clsx('truncate', isActive ? 'text-white' : '')}>{link.title}</span>)}