mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
fix(react/dialogs): unnecessary listeners on modal render
This commit is contained in:
@@ -71,7 +71,7 @@ export default function Modal({ children, className, size, title, header, footer
|
||||
modalElement.removeEventListener("hidden.bs.modal", onHidden);
|
||||
}
|
||||
};
|
||||
});
|
||||
}, [ ]);
|
||||
}
|
||||
|
||||
const dialogStyle: CSSProperties = {};
|
||||
|
||||
Reference in New Issue
Block a user