From 5f518523e9343878dbda7e36175b6cc159d4a1d6 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Tue, 3 Jun 2025 14:40:15 -0600 Subject: [PATCH] Removed garbage --- src/components/NavigationBar.tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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/"); };