Remove curly brackets

This commit is contained in:
nico.benaz 2025-04-21 11:32:13 +02:00 committed by GitHub
parent 57202da103
commit 290281039a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2235,42 +2235,40 @@ export const Group = ({
: '0px', : '0px',
}} }}
> >
{ <DesktopHeader
<DesktopHeader isPrivate={isPrivate}
isPrivate={isPrivate} selectedGroup={selectedGroup}
selectedGroup={selectedGroup} groupSection={groupSection}
groupSection={groupSection} isUnread={isUnread}
isUnread={isUnread} goToAnnouncements={goToAnnouncements}
goToAnnouncements={goToAnnouncements} isUnreadChat={isUnreadChat}
isUnreadChat={isUnreadChat} goToChat={goToChat}
goToChat={goToChat} goToThreads={goToThreads}
goToThreads={goToThreads} setOpenManageMembers={setOpenManageMembers}
setOpenManageMembers={setOpenManageMembers} groupChatHasUnread={groupChatHasUnread}
groupChatHasUnread={groupChatHasUnread} groupsAnnHasUnread={groupsAnnHasUnread}
groupsAnnHasUnread={groupsAnnHasUnread} directChatHasUnread={directChatHasUnread}
directChatHasUnread={directChatHasUnread} chatMode={chatMode}
chatMode={chatMode} openDrawerGroups={openDrawerGroups}
openDrawerGroups={openDrawerGroups} goToHome={goToHome}
goToHome={goToHome} setIsOpenDrawerProfile={setIsOpenDrawerProfile}
setIsOpenDrawerProfile={setIsOpenDrawerProfile} mobileViewMode={mobileViewMode}
mobileViewMode={mobileViewMode} setMobileViewMode={setMobileViewMode}
setMobileViewMode={setMobileViewMode} setMobileViewModeKeepOpen={setMobileViewModeKeepOpen}
setMobileViewModeKeepOpen={setMobileViewModeKeepOpen} hasUnreadGroups={groupChatHasUnread || groupsAnnHasUnread}
hasUnreadGroups={groupChatHasUnread || groupsAnnHasUnread} hasUnreadDirects={directChatHasUnread}
hasUnreadDirects={directChatHasUnread} myName={userInfo?.name || null}
myName={userInfo?.name || null} isHome={groupSection === 'home'}
isHome={groupSection === 'home'} isGroups={desktopSideView === 'groups'}
isGroups={desktopSideView === 'groups'} isDirects={desktopSideView === 'directs'}
isDirects={desktopSideView === 'directs'} setDesktopSideView={setDesktopSideView}
setDesktopSideView={setDesktopSideView} hasUnreadAnnouncements={isUnread}
hasUnreadAnnouncements={isUnread} isAnnouncement={groupSection === 'announcement'}
isAnnouncement={groupSection === 'announcement'} isChat={groupSection === 'chat'}
isChat={groupSection === 'chat'} hasUnreadChat={isUnreadChat}
hasUnreadChat={isUnreadChat} setGroupSection={setGroupSection}
setGroupSection={setGroupSection} isForum={groupSection === 'forum'}
isForum={groupSection === 'forum'} />
/>
}
<Box <Box
sx={{ sx={{