fix: auto-select myself as new stream's member

This commit is contained in:
talksik
2026-03-24 11:29:14 -07:00
parent 83190727f8
commit 3bf3f16be7
2 changed files with 14 additions and 6 deletions
+4
View File
@@ -9,3 +9,7 @@ export function getInitials(email: string): string {
const prefix = email.split("@")[0] ?? "";
return prefix.slice(0, 2).toUpperCase();
}
export function removeDuplicates<T>(array: T[]): T[] {
return [...new Set(array)];
}