fix success message

This commit is contained in:
Alex Holliday committed 2025-02-10 16:15:48 -08:00
1 parent 40393f3fef
commit 9a517c239f
1 file changed
+5 -1
+5 -1
View File
@@ -134,7 +134,11 @@ const CreateStatusPage = () => {
if (typeof error === "undefined") {
const success = await createStatusPage({ form });
if (success) {
createToast({ body: "Status page created successfully" });
createToast({
body: isCreate
? "Status page created successfully"
: "Status page updated successfully",
});
navigate(`/status/uptime/${form.url}`);
}
return;