From 03f10c751a4ba577b6a4b0b1bf03b86a7bff1d5b Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sun, 7 Sep 2025 09:10:01 +0000
Subject: fix(web): Fix deleting the action in the rule engine auto saves.
 fixes #1858

---
 apps/web/components/dashboard/rules/RuleEngineActionBuilder.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'apps/web/components/dashboard/rules/RuleEngineActionBuilder.tsx')

diff --git a/apps/web/components/dashboard/rules/RuleEngineActionBuilder.tsx b/apps/web/components/dashboard/rules/RuleEngineActionBuilder.tsx
index 0354e8ac..c66cbdb2 100644
--- a/apps/web/components/dashboard/rules/RuleEngineActionBuilder.tsx
+++ b/apps/web/components/dashboard/rules/RuleEngineActionBuilder.tsx
@@ -188,6 +188,7 @@ export function ActionBuilder({ value, onChange }: ActionBuilderProps) {
                 </div>
 
                 <Button
+                  type="button"
                   variant="ghost"
                   size="sm"
                   onClick={() => handleRemoveAction(index)}
-- 
cgit v1.2.3-70-g09d2

