mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-26 17:36:28 -07:00
Add missing src/renderers/get-user-name.ts
This commit is contained in:
parent
06400ea2f5
commit
3fae72400b
1 changed files with 5 additions and 0 deletions
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 a new issue