fixing build issue
This commit is contained in:
@@ -53,7 +53,7 @@ const ConfirmationModal: React.FC<ConfirmationModalProps> = (props) => {
|
||||
};
|
||||
|
||||
if (isOpen) {
|
||||
document.addEventListener("keydown", handleEscape);
|
||||
document?.addEventListener("keydown", handleEscape);
|
||||
document.body.style.overflow = "hidden";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user