fix: input field value not changing in delete import modal. (#3445)

This commit is contained in:
Prateek Shourya 2024-01-24 13:16:46 +05:30 committed by GitHub
parent 4a436eeee2
commit c1598c3d38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,6 @@ export const DeleteImportModal: React.FC<Props> = ({ isOpen, handleClose, data }
id="typeDelete" id="typeDelete"
type="text" type="text"
name="typeDelete" name="typeDelete"
value=""
onChange={(e) => { onChange={(e) => {
if (e.target.value === "delete import") setConfirmDeleteImport(true); if (e.target.value === "delete import") setConfirmDeleteImport(true);
else setConfirmDeleteImport(false); else setConfirmDeleteImport(false);