username => name on user page

This commit is contained in:
jahooma 2021-12-31 14:25:01 -06:00
parent 0b9b2396f1
commit 7d5e02a69c

View File

@ -58,7 +58,7 @@ export function UserPage(props: { user: User; currentUser?: User }) {
const isCurrentUser = user.id === currentUser?.id const isCurrentUser = user.id === currentUser?.id
const possesive = isCurrentUser ? 'Your ' : `${user.username}'s ` const possesive = isCurrentUser ? 'Your ' : `${user.name}'s `
return ( return (
<Page> <Page>