diff --git a/src/components/NavigationBar.tsx b/src/components/NavigationBar.tsx index fb0dbac..3e44656 100644 --- a/src/components/NavigationBar.tsx +++ b/src/components/NavigationBar.tsx @@ -50,7 +50,7 @@ export default function NavigationBar({ currentPath }: NavigationBarProps) { }; }, []); - // Use the client path instead of the prop path + // Use the client path const activePath = currentClientPath.value; // Normalize path by removing trailing slashes for consistent comparison @@ -58,14 +58,6 @@ export default function NavigationBar({ currentPath }: NavigationBarProps) { ? activePath.slice(0, -1) : activePath; - // Debug logging to see what paths we're getting - console.log('NavigationBar Debug:', { - propPath: currentPath, - clientPath: activePath, - normalizedPath: normalizedPath, - isResumeMatch: normalizedPath === "/resume" - }); - const isPostsPath = (path: string) => { return path.startsWith("/posts") || path.startsWith("/post/"); };