refactor: removing dupicity of onCancel and onClose

This commit is contained in:
Caio Cabral committed 2024-10-22 11:56:12 -04:00
1 parent 02d65bd0bc
commit f0c1d30de0
7 files changed
+1 -12

No files matched your search

@@ -456,7 +456,6 @@ const Configure = () => {
<Dialog
open={isOpen}
onClose={() => setIsOpen(false)}
theme={theme}
title="Do you really want to delete this monitor?"
description="Once deleted, this monitor cannot be retrieved."
@@ -189,7 +189,6 @@ const ActionsMenu = ({ monitor, isAdmin, updateCallback }) => {
</Menu>
<Dialog
open={isOpen}
onClose={() => setIsOpen(false)}
theme={theme}
title="Do you really want to delete this monitor?"
description="Once deleted, this monitor cannot be retrieved."