Fix undo click by adding x-data scope to flash bar
Phlex blocks inline onclick handlers, and x-on:click requires an
Alpine x-data scope on an ancestor element. Add x-data to the
flash-bar div so Alpine processes the click binding.

https://claude.ai/code/session_01NLGBcJgbiyWGDBGFh8DRas
change
commit e498a52742ce0db85906cd1d2f9fbcf5eca7d8fd
author Claude <noreply@anthropic.com>
date
parent 91fe4f42
diff --git a/lib/ketchup/views/dashboard.rb b/lib/ketchup/views/dashboard.rb
index 7353f27..cf279b3 100644
--- a/lib/ketchup/views/dashboard.rb
+++ b/lib/ketchup/views/dashboard.rb
@@ -42,7 +42,7 @@ module Views
 
       undo_path = @flash["undo_path"]
 
-      div(class: "flash-bar") do
+      div(class: "flash-bar", "x-data": true) do
         span(class: "flash-message") { @flash["message"] }
         if undo_path
           button(