diff --git a/frontend/pages/DashboardPage/cards/ActivityFeed/ActivityFeed.tsx b/frontend/pages/DashboardPage/cards/ActivityFeed/ActivityFeed.tsx index 9b7898f5f6..c35e359cbc 100644 --- a/frontend/pages/DashboardPage/cards/ActivityFeed/ActivityFeed.tsx +++ b/frontend/pages/DashboardPage/cards/ActivityFeed/ActivityFeed.tsx @@ -75,10 +75,6 @@ const ActivityFeed = ({ setSoftwareDetails, ] = useState(null); const [vppDetails, setVppDetails] = useState(null); - const [ - scriptBatchExecutionDetails, - setScriptBatchExecutionDetails, - ] = useState(null); const queryShown = useRef(""); const queryImpact = useRef(undefined); @@ -125,11 +121,7 @@ const ActivityFeed = ({ setPageIndex(pageIndex + 1); }; - const handleDetailsClick = ({ - type, - details, - created_at, - }: IShowActivityDetailsData) => { + const handleDetailsClick = ({ type, details }: IShowActivityDetailsData) => { switch (type) { case ActivityType.LiveQuery: queryShown.current = details?.query_sql ?? ""; diff --git a/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx b/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx index 764e65f121..70fb411c65 100644 --- a/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx +++ b/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx @@ -4,7 +4,6 @@ import { useQuery } from "react-query"; import { Tab, Tabs, TabList, TabPanel } from "react-tabs"; import { pick } from "lodash"; -import Modal from "components/Modal"; import { NotificationContext } from "context/notification";