This commit is contained in:
tamaina
2021-11-12 10:08:55 +09:00
parent af8c2d436b
commit 8fa55baf98
2 changed files with 4 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
export default function(user: { name?: string | null, username: string }): string {
return user.name || user.username;
}