changes
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import Link from 'next/link';
|
||||
import { useContext } from 'react';
|
||||
import { UserContext } from '../lib/context';
|
||||
|
||||
export default function Navbar() {
|
||||
const user = null;
|
||||
const username = null;
|
||||
|
||||
const { user, username } = useContext(UserContext);
|
||||
|
||||
return (
|
||||
<nav className="navbar">
|
||||
|
||||
Reference in New Issue
Block a user