username => name on user page
This commit is contained in:
parent
0b9b2396f1
commit
7d5e02a69c
|
@ -58,7 +58,7 @@ export function UserPage(props: { user: User; currentUser?: User }) {
|
|||
|
||||
const isCurrentUser = user.id === currentUser?.id
|
||||
|
||||
const possesive = isCurrentUser ? 'Your ' : `${user.username}'s `
|
||||
const possesive = isCurrentUser ? 'Your ' : `${user.name}'s `
|
||||
|
||||
return (
|
||||
<Page>
|
||||
|
|
Loading…
Reference in New Issue
Block a user