refactor: removing dupicity of onCancel and onClose
This commit is contained in:
1 parent
02d65bd0bc
commit
f0c1d30de0
7 files changed
+1
-12
No files matched your search
@@ -150,10 +150,6 @@ const ActionsMenu = ({ /* isAdmin, */ maintenanceWindow, updateCallback }) => {
|
||||
</Menu>
|
||||
<Dialog
|
||||
open={isOpen}
|
||||
onClose={(e) => {
|
||||
e.stopPropagation();
|
||||
setIsOpen(false);
|
||||
}}
|
||||
theme={theme}
|
||||
title={"Do you really want to remove this maintenance window?"}
|
||||
onCancel={(e) => {
|
||||
|
||||
Reference in new issue
Block a user