From 9606e3f80cbdbc2f881f8b0912b862f8272d611d Mon Sep 17 00:00:00 2001 From: utin-francis-peter Date: Thu, 20 Jun 2024 06:00:32 +0100 Subject: [PATCH] chore: handleDeleteClick now accepts only doc as param --- frontend/src/components/SourceDropdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/SourceDropdown.tsx b/frontend/src/components/SourceDropdown.tsx index ec0f1fc0..af850262 100644 --- a/frontend/src/components/SourceDropdown.tsx +++ b/frontend/src/components/SourceDropdown.tsx @@ -90,7 +90,7 @@ function SourceDropdown({ id={`img-${index}`} onClick={(event) => { event.stopPropagation(); - handleDeleteClick(index, option); + handleDeleteClick(option); }} /> )}