diff --git a/ui/src/components/AggregatingTasksTable.tsx b/ui/src/components/AggregatingTasksTable.tsx index 533bd88..e34bc5c 100644 --- a/ui/src/components/AggregatingTasksTable.tsx +++ b/ui/src/components/AggregatingTasksTable.tsx @@ -1,4 +1,4 @@ -import React, { useCallback } from "react"; +import React, { useCallback, useState } from "react"; import { connect, ConnectedProps } from "react-redux"; import { makeStyles } from "@material-ui/core/styles"; import Checkbox from "@material-ui/core/Checkbox"; @@ -95,12 +95,10 @@ const columns: TableColumn[] = [ function AggregatingTasksTable( props: Props & ConnectedProps ) { - const [selectedGroup, setSelectedGroup] = React.useState( - null - ); - const [page, setPage] = React.useState(0); - const [selectedIds, setSelectedIds] = React.useState([]); - const [activeTaskId, setActiveTaskId] = React.useState(""); + const [selectedGroup, setSelectedGroup] = useState(null); + const [page, setPage] = useState(0); + const [selectedIds, setSelectedIds] = useState([]); + const [activeTaskId, setActiveTaskId] = useState(""); const { pollInterval, listGroupsAsync,