Skip to content

Commit

Permalink
Reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
rique223 committed Jan 13, 2023
1 parent 345228d commit c881653
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
Expand Up @@ -51,7 +51,7 @@ const AppDetailsPageHeader = ({ app }: { app: App }): ReactElement => {
</Box>

{shortDescription && (
<Box fontScale='p1' color='default' mbe='x16'>
<Box fontScale='p1' mbe='x16'>
{shortDescription}
</Box>
)}
Expand Down
25 changes: 11 additions & 14 deletions apps/meteor/client/views/admin/apps/BundleChips.tsx
@@ -1,7 +1,7 @@
import { Box, Tag } from '@rocket.chat/fuselage';
import { Tag } from '@rocket.chat/fuselage';
import { useTranslation } from '@rocket.chat/ui-contexts';
import type { ReactElement } from 'react';
import React, { Fragment } from 'react';
import React from 'react';

import type { App } from './types';

Expand All @@ -19,18 +19,15 @@ const BundleChips = ({ bundledIn }: BundleChipsProps): ReactElement => {
return (
<>
{bundledIn.map((bundle) => (
<Fragment key={bundle.bundleId}>
<Box>
<Tag
variant='featured'
title={t('this_app_is_included_with_subscription', {
bundleName: bundle.bundleName,
})}
>
{bundle.bundleName}
</Tag>
</Box>
</Fragment>
<Tag
key={bundle.bundleId}
variant='featured'
title={t('this_app_is_included_with_subscription', {
bundleName: bundle.bundleName,
})}
>
{bundle.bundleName}
</Tag>
))}
</>
);
Expand Down

0 comments on commit c881653

Please sign in to comment.