From 8e4760e3c94ea956449b96ce75f9faf2d5446753 Mon Sep 17 00:00:00 2001 From: Eliezer Steinbock <3090527+elie222@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:17:42 +0200 Subject: [PATCH] Send user to test page after saving prompt file --- apps/web/app/(app)/automation/RulesPrompt.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/app/(app)/automation/RulesPrompt.tsx b/apps/web/app/(app)/automation/RulesPrompt.tsx index 6de0e41b..8d931831 100644 --- a/apps/web/app/(app)/automation/RulesPrompt.tsx +++ b/apps/web/app/(app)/automation/RulesPrompt.tsx @@ -115,7 +115,7 @@ function RulesPromptForm({ throw new Error(result.error); } - router.push("/automation?tab=rules"); + router.push("/automation?tab=test"); mutate(); setIsSubmitting(false);