fix(frontend): change User.username in Navigation

This commit is contained in:
Sam 2022-11-21 02:21:54 +01:00
parent 1c1d4d714f
commit 37c01753c9

View file

@ -56,7 +56,7 @@ export default function Navigation() {
const nav = user ? (
<>
<NavItem href={`/u/${user.username}`}>@{user.username}</NavItem>
<NavItem href={`/u/${user.name}`}>@{user.name}</NavItem>
<NavItem href="/settings">Settings</NavItem>
<NavItem href="/logout">Log out</NavItem>
</>