We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c10868 commit 25e27edCopy full SHA for 25e27ed
lib/algora_web/components/ui/dialog.ex
@@ -50,7 +50,7 @@ defmodule AlgoraWeb.Components.UI.Dialog do
50
phx-mounted={@show && JS.exec("phx-show-modal", to: "##{@id}")}
51
phx-remove={JS.exec("phx-hide-modal", to: "##{@id}")}
52
phx-show-modal={show_modal(@id)}
53
- phx-hide-modal={hide_modal(@id)}
+ phx-hide-modal={@on_cancel |> hide_modal(@id)}
54
class="group/dialog relative z-50 hidden"
55
>
56
<div
0 commit comments