Fixing DeleteDialog in transfertype
This commit is contained in:
@ -40,7 +40,6 @@ const DeleteDialog = () => {
|
|||||||
setTimeout(() => toast.error('Failed Delete Product'), 0);
|
setTimeout(() => toast.error('Failed Delete Product'), 0);
|
||||||
}
|
}
|
||||||
}, [selectedTransferType, DeleteData, handleDeleteDialog, reload]);
|
}, [selectedTransferType, DeleteData, handleDeleteDialog, reload]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog open={showDeleteDialog} onOpenChange={(open) => handleDeleteDialog(open, null)}>
|
<Dialog open={showDeleteDialog} onOpenChange={(open) => handleDeleteDialog(open, null)}>
|
||||||
<DialogContent className="container-fixed max-w-md flex flex-col p-5 overflow-hidden [&>button]:hidden">
|
<DialogContent className="container-fixed max-w-md flex flex-col p-5 overflow-hidden [&>button]:hidden">
|
||||||
|
|||||||
Reference in New Issue
Block a user