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:
@@ -50,7 +50,7 @@ const sectionIcons: Record<string, React.ReactNode> = {
|
||||
export function MobileSettingsScreen({ initialPanel }: MobileSettingsScreenProps) {
|
||||
const popMobileScreen = useUIStore((s) => s.popMobileScreen);
|
||||
const pushMobileScreen = useUIStore((s) => s.pushMobileScreen);
|
||||
const isAdmin = useAuthStore((s) => s.user?.is_admin);
|
||||
const isAdmin = useAuthStore((s) => s.user?.isAdmin);
|
||||
|
||||
// If initialPanel is set, render that panel directly
|
||||
if (initialPanel) {
|
||||
|
||||
Reference in New Issue
Block a user