|
@@ -314,22 +311,11 @@ const JobInvocationHostTable = ({
|
);
- const { results = [] } = response;
-
- const isHostExpanded = host => expandedHost.includes(host);
- const setHostExpanded = (host, isExpanding = true) =>
- setExpandedHost(prevExpanded => {
- const otherExpandedHosts = prevExpanded.filter(h => h !== host);
- return isExpanding ? [...otherExpandedHosts, host] : otherExpandedHosts;
- });
- const [showAlert, setShowAlert] = useState(false);
-
return (
<>
{showAlert &&