diff --git a/client/src/Components/MonitorDetailsControlHeader/index.jsx b/client/src/Components/MonitorDetailsControlHeader/index.jsx
index 9a76af551..67bf10f22 100644
--- a/client/src/Components/MonitorDetailsControlHeader/index.jsx
+++ b/client/src/Components/MonitorDetailsControlHeader/index.jsx
@@ -74,30 +74,13 @@ const MonitorDetailsControlHeader = ({
: ""
}
>
- {isTestNotificationsDisabled ? (
-
- }
- disabled
- onClick={() => {
- testAllNotifications({ monitorId: monitor?._id });
- }}
- sx={{
- whiteSpace: "nowrap",
- }}
- >
- {t("sendTestNotifications")}
-
-
- ) : (
+
}
+ disabled={isTestNotificationsDisabled}
onClick={() => {
testAllNotifications({ monitorId: monitor?._id });
}}
@@ -107,7 +90,7 @@ const MonitorDetailsControlHeader = ({
>
{t("sendTestNotifications")}
- )}
+