mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-10-03 02:32:00 +08:00
Add delete button for scheduled and dead tasks
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user