fix: consolidate audited dev updates

This commit is contained in:
illusia committed 2026-10-08 10:32:59 +08:00
1 parent 568b8fd8be
commit 0a552f7ee8
58 files changed
+1930 -132

No files matched your search

@@ -46,6 +46,7 @@ interface UseWebClientConnectionOptions {
saveNickname: (nickname: string) => void;
showToast: (message: string) => void;
t: (key: string) => string;
beforeConnect?: () => void;
}
export function useWebClientConnection({
@@ -77,6 +78,7 @@ export function useWebClientConnection({
saveNickname,
showToast,
t,
beforeConnect,
}: UseWebClientConnectionOptions) {
const canJoin = computed(() => Boolean(
initialized.value
@@ -90,6 +92,7 @@ export function useWebClientConnection({
function doConnect(): void {
if (!canJoin.value || isConnecting.value) return;
beforeConnect?.();
clearError();
nickname.value = nickname.value.trim();
saveNickname(nickname.value);