qoc, todo, document detail page

This commit is contained in:
Timur Ercan
2023-01-19 17:42:20 +01:00
parent 9d70459387
commit 7a3e19f627
4 changed files with 16 additions and 16 deletions

View File

@ -86,7 +86,7 @@ export default function TopNavigation() {
const router = useRouter();
navigation.forEach((element) => {
element.current = router.route.startsWith("/" + element.href.split("/")[1]);
element.current = router.route.endsWith("/" + element.href.split("/")[1]);
});
return (