Skip to content

Commit

Permalink
Send user to test page after saving prompt file
Browse files Browse the repository at this point in the history
  • Loading branch information
elie222 committed Jan 3, 2025
1 parent 883b406 commit 8e4760e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/app/(app)/automation/RulesPrompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function RulesPromptForm({
throw new Error(result.error);
}

router.push("/automation?tab=rules");
router.push("/automation?tab=test");
mutate();
setIsSubmitting(false);

Expand Down

1 comment on commit 8e4760e

@vercel
Copy link

@vercel vercel bot commented on 8e4760e Jan 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.