hash method of navigation and works well...i think I avoid re-rendering?

This commit is contained in:
talksik
2022-01-30 23:50:03 -08:00
parent 6f9536fd81
commit 16c8d26476
10 changed files with 431 additions and 409 deletions
-3
View File
@@ -17,9 +17,6 @@ import UserStatusBubble from "../UserStatusBubble";
export default function Header() {
const router = useRouter();
const currPage = router.pathname;
console.log(currPage);
const UserMenu = (
<Menu title="user menu">
<Menu.Item