mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-02-18 23:39:46 -06:00
extract success toast message strings
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user