fix(mobile): resolve all TypeScript errors from integration
- Fix voiceStore method names (toggleMic, leaveVoice, setCurrentVoiceChannel) - Fix MemberWithUser nested user property access - Pass required channelId props to MessageList, TypingIndicator, MessageInput - Fix ConfirmDialog props (isOpen, description, variant, onClose) - Add mobileStyle prop to Modal component (fullscreen + sheet modes) - Fix fromId/isAdmin camelCase property names - Guard possibly undefined touch events and array accesses - Fix notification channelId resolution
This commit is contained in:
@@ -142,12 +142,13 @@ export function MobileYouScreen() {
|
||||
|
||||
{showLogoutConfirm && (
|
||||
<ConfirmDialog
|
||||
isOpen={true}
|
||||
title="Log Out"
|
||||
message="Are you sure you want to log out?"
|
||||
description="Are you sure you want to log out?"
|
||||
confirmLabel="Log Out"
|
||||
onConfirm={() => { setShowLogoutConfirm(false); logout(); }}
|
||||
onCancel={() => setShowLogoutConfirm(false)}
|
||||
destructive
|
||||
onClose={() => setShowLogoutConfirm(false)}
|
||||
variant="danger"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user