Skip to content

Commit 9f4e7ce

Browse files
committed
chore: code refactoring
1 parent 9fdfdb1 commit 9f4e7ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ResourceBrowser/ResourceList/ClusterSelector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const ClusterSelector: React.FC<ClusterSelectorType> = ({
116116

117117
{defaultOption?.isProd && <span className="px-6 py-2 br-4 bcb-1 cb-7 fs-12 lh-16 fw-5">Production</span>}
118118

119-
{defaultOption?.value !== String(DEFAULT_CLUSTER_ID) ? (
119+
{defaultOption?.value !== String(DEFAULT_CLUSTER_ID) && (
120120
<PopupMenu autoClose>
121121
<PopupMenu.Button rootClassName="flex ml-auto p-4 border__secondary" isKebab>
122122
<MenuDots className="icon-dim-16 fcn-7" data-testid="popup-menu-button" />
@@ -136,7 +136,7 @@ const ClusterSelector: React.FC<ClusterSelectorType> = ({
136136
</div>
137137
</PopupMenu.Body>
138138
</PopupMenu>
139-
) : null}
139+
)}
140140

141141
{openDeleteClusterModal && (
142142
<DeleteClusterConfirmationModal

0 commit comments

Comments
 (0)