This commit is contained in:
2023-10-02 23:10:49 +03:00
commit c6cb488379
255 changed files with 18731 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
export function usernameById(users, id) {
if (users) {
return users.find((u) => u.id === id)?.name ?? id;
}
return id;
}