diff --git a/awx/ui_next/src/screens/Host/HostList/HostList.jsx b/awx/ui_next/src/screens/Host/HostList/HostList.jsx
index e5e8cb5829..b4138fc26f 100644
--- a/awx/ui_next/src/screens/Host/HostList/HostList.jsx
+++ b/awx/ui_next/src/screens/Host/HostList/HostList.jsx
@@ -140,9 +140,9 @@ function HostList({ i18n }) {
itemsToDelete={selected}
pluralizedItemName={i18n._(t`Hosts`)}
/>,
- ...(canAdd ? [(
- ]
- ) : [],
+ ...(canAdd
+ ? []
+ : []),
]}
/>
)}