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:
@@ -35,7 +35,7 @@ export function MobileBottomNav() {
|
||||
const hasUnreadSpaces = Array.from(unreadChannels).some(chId => !voiceChannelIds.has(chId));
|
||||
|
||||
// Pending friend requests — filter for incoming only
|
||||
const pendingIncoming = requests.filter(r => r.status === 'pending' && r.from_id !== authUser?.id);
|
||||
const pendingIncoming = requests.filter(r => r.status === 'pending' && r.fromId !== authUser?.id);
|
||||
|
||||
const handleTab = (tab: 'spaces' | 'dms' | 'you') => {
|
||||
setMobileTab(tab);
|
||||
|
||||
Reference in New Issue
Block a user