mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-19 03:05:53 +08:00
(ui): minor cleanup
This commit is contained in:
parent
ad687c4dc7
commit
ff63a289a2
@ -1,4 +1,4 @@
|
|||||||
import React, { useCallback } from "react";
|
import React, { useCallback, useState } from "react";
|
||||||
import { connect, ConnectedProps } from "react-redux";
|
import { connect, ConnectedProps } from "react-redux";
|
||||||
import { makeStyles } from "@material-ui/core/styles";
|
import { makeStyles } from "@material-ui/core/styles";
|
||||||
import Checkbox from "@material-ui/core/Checkbox";
|
import Checkbox from "@material-ui/core/Checkbox";
|
||||||
@ -95,12 +95,10 @@ const columns: TableColumn[] = [
|
|||||||
function AggregatingTasksTable(
|
function AggregatingTasksTable(
|
||||||
props: Props & ConnectedProps<typeof connector>
|
props: Props & ConnectedProps<typeof connector>
|
||||||
) {
|
) {
|
||||||
const [selectedGroup, setSelectedGroup] = React.useState<GroupInfo | null>(
|
const [selectedGroup, setSelectedGroup] = useState<GroupInfo | null>(null);
|
||||||
null
|
const [page, setPage] = useState(0);
|
||||||
);
|
const [selectedIds, setSelectedIds] = useState<string[]>([]);
|
||||||
const [page, setPage] = React.useState(0);
|
const [activeTaskId, setActiveTaskId] = useState<string>("");
|
||||||
const [selectedIds, setSelectedIds] = React.useState<string[]>([]);
|
|
||||||
const [activeTaskId, setActiveTaskId] = React.useState<string>("");
|
|
||||||
const {
|
const {
|
||||||
pollInterval,
|
pollInterval,
|
||||||
listGroupsAsync,
|
listGroupsAsync,
|
||||||
|
Loading…
Reference in New Issue
Block a user