mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 08:42:12 +10:00
qoc, todo, document detail page
This commit is contained in:
@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user