fix confirmation modal on top of other confirmation modal
This commit is contained in:
@ -5,8 +5,8 @@ export default function ConfirmationModal({ isOpen, onClose, onConfirm, message
|
||||
if (!isOpen) return null;
|
||||
|
||||
return (
|
||||
<div className="opacity-100 fixed inset-0 flex items-center justify-center z-1002" >
|
||||
<div className="bg-white p-4 rounded-md shadow-lg modal-content" style={{ zIndex: 1002 }}>
|
||||
<div className="modal-container opacity-100 inset-0 flex items-center justify-center z-1152" >
|
||||
<div className="bg-white p-4 rounded-md shadow-lg modal-content">
|
||||
<p className="mb-4">{message}</p>
|
||||
<button
|
||||
className="bg-red-500 text-white px-4 py-2 rounded mr-2"
|
||||
|
Reference in New Issue
Block a user