diff --git a/src/app/components/NavigationBar.tsx b/src/app/components/NavigationBar.tsx index 28a04f4..59e8ddb 100644 --- a/src/app/components/NavigationBar.tsx +++ b/src/app/components/NavigationBar.tsx @@ -16,11 +16,14 @@ interface PageProps { }; } + export default function NavigationBar({ params }: PageProps) { - const { path = '' } = useParams(); + let { path = '' } = useParams(); + console.log(path); let abbrev = ''; if (typeof path === 'string' && path.trim().length > 0) { abbrev = ' ' + path.toUpperCase(); + path = '/' + path; } return (