navbar UI improved

This commit is contained in:
Daniel
2023-06-07 23:04:50 +03:30
parent 35a8d74943
commit 39abb09002
7 changed files with 35 additions and 70 deletions
-1
View File
@@ -21,7 +21,6 @@ export default function ({ className }: { className?: string }) {
const [active, setActive] = useState("");
useEffect(() => {
console.log(window.location.hash);
setActive(router.asPath);
}, [router, collections]);