Add delete button for scheduled and dead tasks

This commit is contained in:
Ken Hibino
2020-12-09 06:56:44 -08:00
parent 601a7c8add
commit ce978f4516
7 changed files with 303 additions and 18 deletions

View File

@@ -163,7 +163,12 @@ const useRowStyles = makeStyles({
},
});
function Row(props: { task: RetryTaskExtended; onDeleteClick: () => void }) {
interface RowProps {
task: RetryTaskExtended;
onDeleteClick: () => void;
}
function Row(props: RowProps) {
const { task } = props;
const [open, setOpen] = React.useState(false);
const classes = useRowStyles();