This commit is contained in:
LucasLassiter
2022-05-11 14:56:59 -07:00
parent fb28b8380d
commit c20b6bea70
7 changed files with 371 additions and 579 deletions

View File

@@ -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">