hash method of navigation and works well...i think I avoid re-rendering?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user