Skip to content

Commit

Permalink
refactor(monitoring): remove redundant divs
Browse files Browse the repository at this point in the history
  • Loading branch information
weronikaolejniczak committed Dec 26, 2024
1 parent d9fd8c3 commit a64a966
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,7 @@ const getColumns = (
const license = cluster.license;

if (!licenseType) {
return (
<div>
<div css={clusterCellLicenseStyle}>N/A</div>
</div>
);
return <div css={clusterCellLicenseStyle}>N/A</div>;
}

if (license) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,13 @@ const getColumns = (showCgroupMetricsElasticsearch, setupMode, clusterUuid, aler
};

setupModeStatus = (
<div>
<SetupModeBadge
setupMode={setupMode}
status={status}
instance={instance}
productName={ELASTICSEARCH_SYSTEM_ID}
clusterUuid={clusterUuid}
/>
</div>
<SetupModeBadge
setupMode={setupMode}
status={status}
instance={instance}
productName={ELASTICSEARCH_SYSTEM_ID}
clusterUuid={clusterUuid}
/>
);
if (status.isNetNewUser) {
nameLink = value;
Expand Down

0 comments on commit a64a966

Please sign in to comment.