mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-29 14:08:05 +09:00
6 lines
132 B
TypeScript
6 lines
132 B
TypeScript
import { User } from '@/models/entities/user';
|
|
|
|
export default function(user: User): string {
|
|
return user.name || user.username;
|
|
}
|