Download delete button
This commit is contained in:
@@ -13,6 +13,7 @@ import React, { useContext, useEffect, useState } from 'react';
|
|||||||
import PlayArrowIcon from '@material-ui/icons/PlayArrow';
|
import PlayArrowIcon from '@material-ui/icons/PlayArrow';
|
||||||
import PauseIcon from '@material-ui/icons/Pause';
|
import PauseIcon from '@material-ui/icons/Pause';
|
||||||
import IconButton from '@material-ui/core/IconButton';
|
import IconButton from '@material-ui/core/IconButton';
|
||||||
|
import DeleteIcon from '@material-ui/icons/Delete';
|
||||||
import client from 'util/client';
|
import client from 'util/client';
|
||||||
import {
|
import {
|
||||||
DragDropContext, Draggable, DraggingStyle, Droppable, DropResult, NotDraggingStyle,
|
DragDropContext, Draggable, DraggingStyle, Droppable, DropResult, NotDraggingStyle,
|
||||||
@@ -125,20 +126,13 @@ export default function DownloadQueue() {
|
|||||||
+ ` => state: ${item.state}`
|
+ ` => state: ${item.state}`
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
{/* <IconButton
|
|
||||||
onClick={() => {
|
|
||||||
handleEditDialogOpen(index);
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<EditIcon />
|
|
||||||
</IconButton>
|
|
||||||
<IconButton
|
<IconButton
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
deleteCategory(index);
|
// deleteCategory(index);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<DeleteIcon />
|
<DeleteIcon />
|
||||||
</IconButton> */}
|
</IconButton>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
)}
|
)}
|
||||||
</Draggable>
|
</Draggable>
|
||||||
|
|||||||
Reference in New Issue
Block a user