chore: handleDeleteClick now accepts only doc as param

This commit is contained in:
utin-francis-peter
2024-06-20 06:00:32 +01:00
parent 7bc7b500f5
commit 9606e3f80c

View File

@@ -90,7 +90,7 @@ function SourceDropdown({
id={`img-${index}`}
onClick={(event) => {
event.stopPropagation();
handleDeleteClick(index, option);
handleDeleteClick(option);
}}
/>
)}