Implement username search

This commit is contained in:
2025-10-17 00:19:47 +03:00
Unverified
parent 13c258ad95
commit dd946e7466
14 changed files with 582 additions and 44 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import { API_BASE_URL } from "@/core/config";
import { initialize, subscribe, startElectronReceiver, isSupported } from "@/core/push-notifications/push-notifications";
import { isElectron } from "@/core/electron/electron";
export type ChatTabs = "chats" | "channels" | "contacts" | "dms";
export type ChatTabs = "chats" | "channels" | "contacts";
export type CallStatus = "calling" | "connecting" | "active" | "ended";
@@ -403,7 +403,7 @@ export const useAppState = create<AppState>((set, get) => ({
username: dmData.username,
publicKey: dmData.publicKey
},
activeTab: "dms"
activeTab: "chats"
}
}));