fix and update

This commit is contained in:
lendry
2026-06-30 14:12:20 +03:00
parent 2a88c87e94
commit 879875508f
7 changed files with 45 additions and 25 deletions

View File

@@ -86,7 +86,7 @@ function formatMessageTime(value: string) {
}
export function MiniFamilyChat() {
const { user, token, isPinLocked } = useAuth();
const { user, token, isPinLocked, isContentReady } = useAuth();
const { showToast } = useToast();
const { subscribe } = useRealtime();
const {
@@ -96,7 +96,7 @@ export function MiniFamilyChat() {
selectedGroupId,
setSelectedGroupId,
presenceByUserId
} = useSelectedFamily(Boolean(user && token && !isPinLocked));
} = useSelectedFamily(Boolean(user && token && !isPinLocked && isContentReady));
const {
miniChatOpen,
openMiniChat,