diff --git a/Client/src/Components/Dialog/index.jsx b/Client/src/Components/Dialog/index.jsx
index d138ab983..fdc34c0c1 100644
--- a/Client/src/Components/Dialog/index.jsx
+++ b/Client/src/Components/Dialog/index.jsx
@@ -7,7 +7,6 @@ const Dialog = ({
title,
description,
open,
- onClose,
theme,
onCancel,
confirmationButtonLabel,
@@ -19,7 +18,7 @@ const Dialog = ({
title={title}
description={description}
open={open}
- onClose={onClose}
+ onClose={onCancel}
theme={theme}
>
{
setIsOpen(deleteStatsMonitorsInitState)}
theme={theme}
title="Do you want to clear all stats?"
description="Once deleted, this monitor cannot be retrieved."
@@ -313,7 +312,6 @@ const Settings = ({ isAdmin }) => {
setIsOpen(deleteStatsMonitorsInitState)}
theme={theme}
title="Do you want to remove all monitors?"
onCancel={() => setIsOpen(deleteStatsMonitorsInitState)}