From dc7ca932af4622cd0edda0672a9f9f742c76a804 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Thu, 19 Aug 2021 19:31:39 +0430 Subject: [PATCH] Download delete button --- src/screens/manga/DownloadQueue.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/screens/manga/DownloadQueue.tsx b/src/screens/manga/DownloadQueue.tsx index 1c7c7f2a..844727a1 100644 --- a/src/screens/manga/DownloadQueue.tsx +++ b/src/screens/manga/DownloadQueue.tsx @@ -13,6 +13,7 @@ import React, { useContext, useEffect, useState } from 'react'; import PlayArrowIcon from '@material-ui/icons/PlayArrow'; import PauseIcon from '@material-ui/icons/Pause'; import IconButton from '@material-ui/core/IconButton'; +import DeleteIcon from '@material-ui/icons/Delete'; import client from 'util/client'; import { DragDropContext, Draggable, DraggingStyle, Droppable, DropResult, NotDraggingStyle, @@ -125,20 +126,13 @@ export default function DownloadQueue() { + ` => state: ${item.state}` } /> - {/* { - handleEditDialogOpen(index); - }} - > - - { - deleteCategory(index); + // deleteCategory(index); }} > - */} + )}