extract success toast message strings

This commit is contained in:
Vishnu Sreekumaran Nair committed 2025-03-19 15:55:39 -04:00
1 parent ced3ad1757
commit 139ae00613
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -199,7 +199,7 @@ const CreateInfrastructureMonitor = () => {
: await dispatch(updateInfrastructureMonitor({ monitorId, monitor: form }));
if (action.meta.requestStatus === "fulfilled") {
createToast({
body: isCreate ? "Infrastructure monitor created successfully!" : "Infrastructure monitor updated successfully!",
body: isCreate ? t("infrastructureMonitorCreated") : t("infrastructureMonitorUpdated"),
});
navigate("/infrastructure");
} else {