diff --git a/apps/meteor/client/sidebarv2/RoomList/RoomList.tsx b/apps/meteor/client/sidebarv2/RoomList/RoomList.tsx index dd4506257359..87539450c9de 100644 --- a/apps/meteor/client/sidebarv2/RoomList/RoomList.tsx +++ b/apps/meteor/client/sidebarv2/RoomList/RoomList.tsx @@ -1,6 +1,6 @@ /* eslint-disable react/no-multi-comp */ import type { ISubscription, IRoom } from '@rocket.chat/core-typings'; -import { SideBar, SideBarGroupTitle } from '@rocket.chat/fuselage'; +import { Box, SideBarGroupTitle } from '@rocket.chat/fuselage'; import { useResizeObserver } from '@rocket.chat/fuselage-hooks'; import type { TranslationKey } from '@rocket.chat/ui-contexts'; import { useUserPreference, useUserId, useTranslation } from '@rocket.chat/ui-contexts'; @@ -68,14 +68,14 @@ const RoomList = () => { const { groupCounts, groupList, roomList } = getRoomsByGroup(roomsList); return ( - + } itemContent={(index) => } components={{ Item: RoomListRowWrapper, List: RoomListWrapper, Scroller: VirtuosoScrollbars }} /> - + ); }; diff --git a/apps/meteor/client/sidebarv2/Sidebar.tsx b/apps/meteor/client/sidebarv2/Sidebar.tsx index 21c5e2ab18c8..7d98a8f67a8b 100644 --- a/apps/meteor/client/sidebarv2/Sidebar.tsx +++ b/apps/meteor/client/sidebarv2/Sidebar.tsx @@ -1,4 +1,4 @@ -import { Box } from '@rocket.chat/fuselage'; +import { SideBar } from '@rocket.chat/fuselage'; import { useSessionStorage } from '@rocket.chat/fuselage-hooks'; import { useSetting, useUserPreference } from '@rocket.chat/ui-contexts'; import React, { memo } from 'react'; @@ -15,23 +15,17 @@ const Sidebar = () => { const presenceDisabled = useSetting('Presence_broadcast_disabled'); return ( - {presenceDisabled && !bannerDismissed && setBannerDismissed(true)} />} - + ); };