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
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ export default function Navigation() {
const nav = user ? ( 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="/settings">Settings</NavItem>
<NavItem href="/logout">Log out</NavItem> <NavItem href="/logout">Log out</NavItem>
</> </>