Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix(web): Fix deleting the action in the rule engine auto saves. fixes #1858

Mohamed Bassem03f10c751a4b
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)}