mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-02 00:38:31 +09:00
Add missing src/renderers/get-user-name.ts
This commit is contained in:
parent
d99d628f50
commit
39b896a900
5
src/renderers/get-user-name.ts
Normal file
5
src/renderers/get-user-name.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import { IUser } from '../models/user';
|
||||
|
||||
export default function(user: IUser): string {
|
||||
return user.name || '名無し';
|
||||
}
|
Loading…
Reference in New Issue
Block a user