diff --git a/apps/meteor/ee/client/views/admin/engagementDashboard/EngagementDashboardCard.tsx b/apps/meteor/ee/client/views/admin/engagementDashboard/EngagementDashboardCard.tsx index 0fe32a90d825..74dfa71886fe 100644 --- a/apps/meteor/ee/client/views/admin/engagementDashboard/EngagementDashboardCard.tsx +++ b/apps/meteor/ee/client/views/admin/engagementDashboard/EngagementDashboardCard.tsx @@ -1,5 +1,4 @@ -import { Box } from '@rocket.chat/fuselage'; -import { Card, CardBody, CardCol, CardTitle } from '@rocket.chat/ui-client'; +import { Box, Card, CardTitle, CardBody } from '@rocket.chat/fuselage'; import type { ReactElement, ReactNode } from 'react'; import React from 'react'; @@ -15,11 +14,9 @@ const EngagementDashboardCard = ({ children, title = undefined }: EngagementDash {title && {title}} - - - {children} - - + + {children} + diff --git a/apps/meteor/ee/client/views/admin/engagementDashboard/EngagementDashboardCardFilter.tsx b/apps/meteor/ee/client/views/admin/engagementDashboard/EngagementDashboardCardFilter.tsx index 77311af255d9..e53ff2c2e76b 100644 --- a/apps/meteor/ee/client/views/admin/engagementDashboard/EngagementDashboardCardFilter.tsx +++ b/apps/meteor/ee/client/views/admin/engagementDashboard/EngagementDashboardCardFilter.tsx @@ -7,7 +7,7 @@ type EngagementDashboardCardFilterProps = { }; const EngagementDashboardCardFilter = ({ children = }: EngagementDashboardCardFilterProps): ReactElement => ( - + {children && {children}} ); diff --git a/apps/meteor/ee/client/views/admin/engagementDashboard/channels/ChannelsOverview.tsx b/apps/meteor/ee/client/views/admin/engagementDashboard/channels/ChannelsOverview.tsx index 9f2e9435db0f..f901f11d3954 100644 --- a/apps/meteor/ee/client/views/admin/engagementDashboard/channels/ChannelsOverview.tsx +++ b/apps/meteor/ee/client/views/admin/engagementDashboard/channels/ChannelsOverview.tsx @@ -1,4 +1,4 @@ -import { Box, Icon, Margins, Pagination, Skeleton, Table, TableBody, TableCell, TableHead, TableRow, Tile } from '@rocket.chat/fuselage'; +import { Icon, Margins, Pagination, Skeleton, Table, TableBody, TableCell, TableHead, TableRow, Tile } from '@rocket.chat/fuselage'; import { useTranslation } from '@rocket.chat/ui-contexts'; import moment from 'moment'; import type { ReactElement } from 'react'; @@ -59,7 +59,7 @@ const ChannelsOverview = (): ReactElement => { } /> - + {channels && !channels.length && ( {t('No_data_found')} @@ -127,7 +127,7 @@ const ChannelsOverview = (): ReactElement => { onSetItemsPerPage={setItemsPerPage} onSetCurrent={setCurrent} /> - + > ); };